radix/files/fish/fish_abbreviations

16 lines
866 B
Plaintext
Raw Normal View History

2023-08-06 20:49:53 +00:00
abbr --add m 'yt-dlp --prefer-free-formats --extract-audio'
abbr --add v 'yt-dlp --prefer-free-formats'
2023-08-08 22:25:46 +00:00
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'
2023-08-08 22:32:20 +00:00
abbr --add mpv --position anywhere --set-cursor 'mpv "%"'
2023-08-08 22:25:46 +00:00
2023-08-08 10:50:44 +00:00
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"
abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm"
abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR radio.scm"
2023-08-08 10:50:44 +00:00
abbr --add @radix --position anywhere "$RADIX_REPO"
abbr --add @files --position anywhere "$RADIX_REPO/files"
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"