Last active
August 30, 2021 00:15
-
-
Save a1ip/8b05e9834d37a4609236da8fb0483d5a to your computer and use it in GitHub Desktop.
My fish shell abbreviations https://git.io/abbrs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abbr -a - 'cd -' | |
abbr -a aa 'abbr -a' | |
abbr -a ab 'abbr -s | sort' | |
abbr -a b brew | |
abbr -a bca 'brew cask' | |
abbr -a bcf 'brew cask info' | |
abbr -a bci 'brew cask install' | |
abbr -a bcu 'brew cask uninstall' | |
abbr -a bf 'brew info' | |
abbr -a bi 'brew install' | |
abbr -a books 'http jbbl.github.io/rst/index.json|fx ".books.reduce((a,b) =>a+`\n`+b.nr+`: `+b.name,``)"|column' | |
abbr -a bs 'brew search' | |
abbr -a bss 'brew services start' | |
abbr -a bu 'brew uninstall' | |
abbr -a cdc 'cd ~/dev' | |
abbr -a cdd 'cd ~/Downloads' | |
abbr -a cdh 'cd ~' | |
abbr -a ch 'http jbbl.github.io/rst/ps/1.json|fx ".name + require(`numbers-to-superscript`)(this.verses.reduce((a,b) =>a+`\\n`+b.verse+` `+b.text.trim(),``))"' | |
abbr -a chn 'http jbbl.github.io/rst/ps/90.json|fx ".verses.reduce((a,b) =>a+b.verse+` `+b.text.trim()+`\\n`,``)"|sup' | |
abbr -a chr 'http jbbl.github.io/rst/ps/90.json|fx ".verses.reduce((a,b) =>a+b.text.trim()+`\n`,``)"' | |
abbr -a df 'df -H' | |
abbr -a dfs 'df -H -t /' | |
abbr -a digg 'dig @8.8.8.8' | |
abbr -a digy 'dig @77.88.8.8' | |
abbr -a dl 'http -d' | |
abbr -a f 'find ~ -iname \*.pdf 2>/dev/null' | |
abbr -a fn 'find ~/dev -iname \*.md -not -path \*node_modules\* 2>/dev/null' | |
abbr -a g 'git status -s' | |
abbr -a ga 'git add' | |
abbr -a gb 'git branch' | |
abbr -a gc 'git commit' | |
abbr -a gcb 'git checkout -b' | |
abbr -a gch 'git checkout' | |
abbr -a gp 'git push' | |
abbr -a gs 'git status' | |
abbr -a gst 'git status -uno' | |
abbr -a hd 'history delete' | |
abbr -a hi history | |
abbr -a hs 'history search' | |
abbr -a john316 'http jbbl.github.io/kjv/john/3.json|fx .verses[16-1] "`«`+this.text+`» (`+this.name+`)`"' | |
abbr -a l 'ls -CF' | |
abbr -a la 'ls -A' | |
abbr -a lat 'latex -output-format=pdf -output-directory=./' | |
abbr -a ll 'ls -alFh' | |
abbr -a nbuild 'npm run build' | |
abbr -a ndeploy 'npm run deploy' | |
abbr -a nserve 'npm run serve' | |
abbr -a nstart 'npm run start' | |
abbr -a ping2 'ping -c 2' | |
abbr -a ping3 'ping -c 3' | |
abbr -a ping4 'ping -c 4' | |
abbr -a s st | |
abbr -a sc 'webkit2png -F -z 2.0 --delay=2' | |
abbr -a sk 'sudo sh ~/.bin/sketch.sh' | |
abbr -a ss 'webkit2png -F -z 1.0 --delay=2' | |
abbr -a ta 'tmux attach or tmux new' | |
abbr -a v 'http jbbl.github.io/rst/ps/83.json|fx .verses[3-1] "`«`+this.text.trim()+`» (`+this.name+`)`"' | |
abbr -a vc 'http jbbl.github.io/rst/ps/83.json|fx .verses[3-1] "`«`+this.text.trim()+`» (`+this.name+`)`"|pbcopy' | |
abbr -a y youtube-dl | |
abbr -a yc 'youtube-dl --no-check-certificate' | |
abbr -a yh 'youtube-dl -o "./%(title)s.%(ext)s"' | |
abbr -a yhc 'youtube-dl --no-check-certificate -o "./%(title)s.%(ext)s"' | |
abbr -a ym 'youtube-dl -x --audio-format mp3' | |
abbr -a ymc 'youtube-dl -x --audio-format mp3 --no-check-certificate' | |
abbr -a ymp 'youtube-dl -x --audio-format mp3 --yes-playlist -i' | |
abbr -a ympc 'youtube-dl -x --audio-format mp3 --no-check-certificate --yes-playlist -i' | |
abbr -a ymph 'youtube-dl -x --audio-format mp3 -o "./%(title)s.%(ext)s" --yes-playlist -i' | |
abbr -a ymphc 'youtube-dl -x --audio-format mp3 --no-check-certificate -o "./%(title)s.%(ext)s" --yes-playlist -i' | |
abbr -a yp 'youtube-dl --yes-playlist -i' | |
abbr -a ypc 'youtube-dl --yes-playlist -i --no-check-certificate' | |
abbr -a yph 'youtube-dl -o "./%(title)s.%(ext)s" --yes-playlist -i' | |
abbr -a yphc 'youtube-dl --no-check-certificate -o "./%(title)s.%(ext)s" --yes-playlist -i' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment