2023-08-13 10:56:55 +00:00
|
|
|
abbr --add m --set-cursor 'yt-dlp --prefer-free-formats --extract-audio "%"'
|
|
|
|
abbr --add v --set-cursor 'yt-dlp --prefer-free-formats "%"'
|
2023-08-06 20:49:53 +00:00
|
|
|
|
2023-08-10 12:10:35 +00:00
|
|
|
abbr --add zedit --set-cursor "zcat % | $EDITOR"
|
2023-09-16 22:49:33 +00:00
|
|
|
abbr --add tf --position anywhere --set-cursor 'setsid -f %>/dev/null 2>&1 & disown'
|
2023-08-10 12:10:35 +00:00
|
|
|
abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b'
|
|
|
|
abbr --add mpv --position anywhere --set-cursor 'mpv "%"'
|
2023-08-08 22:25:46 +00:00
|
|
|
|
2023-09-16 22:49:33 +00:00
|
|
|
abbr --add :links "$EDITOR ~/area/organization/links"
|
|
|
|
|
|
|
|
# Research
|
|
|
|
abbr --add @research --position anywhere "~/area/research/assymptotically-periodic-functions/"
|
|
|
|
|
2023-08-11 12:55:35 +00:00
|
|
|
# Projects
|
2023-08-29 13:54:24 +00:00
|
|
|
set -l PROJECTS "$HOME/projects/code"
|
|
|
|
abbr --add @guix --position anywhere "$PROJECTS/scm/guix"
|
2023-08-11 12:55:35 +00:00
|
|
|
abbr --add @punk --position anywhere "$PROJECTS/cpp/Punk"
|
2023-08-29 13:54:24 +00:00
|
|
|
abbr --add @tomato --position anywhere "$PROJECTS/py/tomato-engine"
|
2023-08-11 12:55:35 +00:00
|
|
|
|
|
|
|
## Radix
|
2023-08-29 14:27:02 +00:00
|
|
|
set -l RADIX_REPO "$HOME/area/code/scm/radix"
|
2023-08-08 18:17:21 +00:00
|
|
|
abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm"
|
|
|
|
abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR radio.scm"
|
2023-08-08 10:50:44 +00:00
|
|
|
abbr --add @radix --position anywhere "$RADIX_REPO"
|
|
|
|
abbr --add @files --position anywhere "$RADIX_REPO/files"
|
|
|
|
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
|
2023-08-11 12:55:35 +00:00
|
|
|
|
|
|
|
# System and Home
|
|
|
|
abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"
|
2023-08-30 00:23:11 +00:00
|
|
|
abbr --add !home --position anywhere "guix home reconfigure ~/.config/guix/home.scm"
|