abbr --add m --set-cursor 'yt-dlp --prefer-free-formats --extract-audio "%"' abbr --add v --set-cursor 'yt-dlp --prefer-free-formats "%"' abbr --add zedit --set-cursor "zcat % | $EDITOR" abbr --add tf --position anywhere --set-cursor 'setsid -f %>/dev/null 2>&1 & disown' abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b' abbr --add mpv --position anywhere --set-cursor 'mpv "%"' abbr --add :links "$EDITOR ~/area/organization/links" # Research abbr --add @research --position anywhere "~/area/research/assymptotically-periodic-functions/" # Projects set -l PROJECTS "$HOME/projects/code" abbr --add @guix --position anywhere "$PROJECTS/scm/guix" abbr --add @punk --position anywhere "$PROJECTS/cpp/Punk" abbr --add @tomato --position anywhere "$PROJECTS/py/tomato-engine" ## Radix set -l RADIX_REPO "$HOME/area/code/scm/radix" abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm" abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR 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" # System and Home abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm" abbr --add !home --position anywhere "guix home reconfigure ~/.config/guix/home.scm"