radix/files/fish/fish_abbreviations

14 lines
735 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'
abbr --add mpv --position anywhere --set-cursor=! 'mpv "!"'
# Radix related abbreviations
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 "$EDITOR /etc/config.scm"
abbr --add :home --position anywhere "$EDITOR $RADIX_REPO/radio.scm"
abbr --add @radix --position anywhere "$RADIX_REPO"
abbr --add @files --position anywhere "$RADIX_REPO/files"
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"