1
0
forked from extern/nix-config

fish: Add utf16 conversion support

Similar to the previous commit, this makes dealing with files from Japan
easier.
This commit is contained in:
Donovan Glover 2022-07-29 13:29:57 -04:00
parent 6aae63d66f
commit 7078dcbe67
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 df "df --human-readable --type=ext4 --total"
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 c "clear" # Because 5 letters is too much