feat: improve fish abbreviations

keyring
anemofilia 2023-08-08 07:50:44 -03:00
parent 80aabd2d70
commit 86959fd6af
1 changed files with 8 additions and 7 deletions

View File

@ -2,10 +2,11 @@ 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 "!"'
abbr --add !system --position anywhere 'doas guix system reconfigure /etc/config.scm'
abbr --add !home --position anywhere 'guix home reconfigure $HOME/projects/guile/radix/radio.scm'
abbr --add :system --position anywhere '$EDITOR /etc/config.scm'
abbr --add :home --position anywhere '$EDITOR $HOME/projects/guile/radix/radio.scm'
abbr --add @radix --position anywhere '$HOME/projects/guile/radix'
abbr --add @files --position anywhere '$HOME/projects/guile/radix/files'
abbr --add @modules --position anywhere '$HOME/projects/guile/radix/modules'
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"