mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-19 07:40:45 +02:00
fish: Add utf16 conversion support
Similar to the previous commit, this makes dealing with files from Japan easier.
This commit is contained in:
parent
6aae63d66f
commit
7078dcbe67
@ -81,6 +81,7 @@ if not set -q set_abbr
|
|||||||
abbr nf "tput reset; and neofetch --size 56%; and xdotool key --delay 100 Ctrl+Shift+Page_Up"
|
abbr nf "tput reset; and neofetch --size 56%; and xdotool key --delay 100 Ctrl+Shift+Page_Up"
|
||||||
abbr df "df --human-readable --type=ext4 --total"
|
abbr df "df --human-readable --type=ext4 --total"
|
||||||
abbr jis "recode shift_jis..utf8" # Easily convert shift_jis-encoded files to utf8
|
abbr jis "recode shift_jis..utf8" # Easily convert shift_jis-encoded files to utf8
|
||||||
|
abbr utf16 "recode utf16..utf8" # Rarely, some files from Japan are utf16 instead
|
||||||
|
|
||||||
abbr b "feh --bg-fill" # Change the background
|
abbr b "feh --bg-fill" # Change the background
|
||||||
abbr c "clear" # Because 5 letters is too much
|
abbr c "clear" # Because 5 letters is too much
|
||||||
|
Loading…
Reference in New Issue
Block a user