chore: Add abbreviations for edit links file and enter research folder

pull/1/head
anemofilia 2023-09-16 19:49:33 -03:00
parent 9201d1c71a
commit 43e3aed8de
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 6 additions and 4 deletions

View File

@ -2,10 +2,15 @@ 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 --set-cursor 'setsid -f %>/dev/null 2>&1 & disown'
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"
@ -20,9 +25,6 @@ abbr --add @radix --position anywhere "$RADIX_REPO"
abbr --add @files --position anywhere "$RADIX_REPO/files"
abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
## Guix TODO
abbr --add @todo --position anywhere "$PROJECTS/org/guix-todo"
# 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"