diff --git a/files/fish/fish_abbreviations b/files/fish/fish_abbreviations index 391ed5c..68698d8 100644 --- a/files/fish/fish_abbreviations +++ b/files/fish/fish_abbreviations @@ -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"