feat: add autocd to :system and :home abbreviations in fish
parent
ec052c822e
commit
5f5f790463
|
@ -6,8 +6,8 @@ abbr --add mpv --position anywhere --set-cursor=! 'mpv "!"'
|
||||||
set -l RADIX_REPO "$HOME/projects/guile/radix"
|
set -l RADIX_REPO "$HOME/projects/guile/radix"
|
||||||
abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"
|
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 !home --position anywhere "guix home reconfigure $RADIX_REPO/radio.scm"
|
||||||
abbr --add :system --position anywhere "$EDITOR /etc/config.scm"
|
abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm"
|
||||||
abbr --add :home --position anywhere "$EDITOR $RADIX_REPO/radio.scm"
|
abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR radio.scm"
|
||||||
abbr --add @radix --position anywhere "$RADIX_REPO"
|
abbr --add @radix --position anywhere "$RADIX_REPO"
|
||||||
abbr --add @files --position anywhere "$RADIX_REPO/files"
|
abbr --add @files --position anywhere "$RADIX_REPO/files"
|
||||||
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
|
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
|
||||||
|
|
Loading…
Reference in New Issue