Skip to content

Instantly share code, notes, and snippets.

@nptit
Forked from a1ip/abbr.txt
Created September 11, 2018 13:53
Show Gist options
  • Save nptit/cb6653645270976d14594c02c1639ae1 to your computer and use it in GitHub Desktop.
Save nptit/cb6653645270976d14594c02c1639ae1 to your computer and use it in GitHub Desktop.
My fish shell abbreviations
abbr -- - 'cd -'
abbr aa 'abbr -a'
abbr ab 'abbr -s | sort'
abbr b brew
abbr bca 'brew cask'
abbr bcf 'brew cask info'
abbr bci 'brew cask install'
abbr bcu 'brew cask uninstall'
abbr bf 'brew info'
abbr bi 'brew install'
abbr bs 'brew search'
abbr bu 'brew uninstall'
abbr cdd 'cd ~/Downloads'
abbr cdh 'cd ~'
abbr df 'df -H'
abbr g 'git status -s'
abbr ga 'git add'
abbr gb 'git branch'
abbr gc 'git commit'
abbr gcb 'git checkout -b'
abbr gch 'git checkout'
abbr gp 'git push'
abbr gs 'git status'
abbr gst 'git status -uno'
abbr hd 'history delete'
abbr hi history
abbr hs 'history search'
abbr l 'ls -CF'
abbr la 'ls -A'
abbr ll 'ls -alFh'
abbr ping2 'ping -c 2'
abbr ping3 'ping -c 3'
abbr ping4 'ping -c 4'
abbr s st
abbr ta 'tmux attach or tmux new'
abbr y youtube-dl
abbr yc 'youtube-dl --no-check-certificate'
abbr ym 'youtube-dl -x --audio-format mp3'
abbr ymc 'youtube-dl -x --audio-format mp3 --no-check-certificate'
abbr yp 'youtube-dl --yes-playlist -i'
abbr ypc 'youtube-dl --yes-playlist -i --no-check-certificate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment