feat: add new abbreviations to fish

keyring
anemofilia 2023-08-08 19:25:46 -03:00
parent 037e997600
commit 9806bdc1a7
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
abbr --add m 'yt-dlp --prefer-free-formats --extract-audio'
abbr --add v 'yt-dlp --prefer-free-formats'
abbr --add mpv --position anywhere --set-cursor=! 'mpv "!"'
# Radix related abbreviations
abbr --add tf --set-cursor 'setsid -f % >/dev/null 2>&1 & disown'
abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b'
abbr --add mpv --set-cursor 'mpv "%"' --position anywhere
set -l RADIX_REPO "$HOME/projects/guile/radix"
abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"
abbr --add !home --position anywhere "guix home reconfigure $RADIX_REPO/radio.scm"