Skip to content

Instantly share code, notes, and snippets.

@joar
Created June 14, 2016 12:12
Show Gist options
  • Select an option

  • Save joar/b752edf7306de5c09f83f0b8d0de7c6f to your computer and use it in GitHub Desktop.

Select an option

Save joar/b752edf7306de5c09f83f0b8d0de7c6f to your computer and use it in GitHub Desktop.
My fish shell abbreviations
# Fish shell abbreviations
abbr tso 'tmux -2 source'
abbr denv 'env | grep DOCKER_'
abbr xsel 'xsel -ib'
abbr ga 'git add'
abbr gaa 'git add -A .'
abbr gco 'git checkout'
abbr gl 'git pull'
abbr gp 'git push'
abbr gd 'git diff'
abbr gst 'git status'
abbr s 'git status -sb'
abbr l 'git log'
abbr lp 'git log -p'
abbr gg 'git log --graph --decorate --all'
abbr gog 'git log --graph --decorate --all --oneline'
abbr gm 'git merge'
abbr gc 'git commit -v'
abbr gr 'git rebase'
abbr gb 'git branch'
abbr gf 'git fetch'
abbr dg 'git --git-dir ~/dotfiles.git --work-tree ~'
abbr ll 'ls -lah'
abbr m 'python manage.py'
abbr ms 'python manage.py shell'
abbr dr 'docker run --rm -it'
abbr d docker
abbr dc docker-compose
abbr tmux 'tmux -2'
abbr gs 'git show'
abbr sur 'systemctl --user restart'
abbr sus 'systemctl --user stop'
abbr sut 'systemctl --user status'
abbr dip docker\ inspect\ --format=\'\{\{\ .NetworkSettings.IPAddress\ \}\}\'
abbr pw 'lpass show --pass -c'
abbr gu 'git up'
abbr pf 'ps auxf | less -Sp'
abbr r 'egrep -r'
abbr k kubectl
abbr pms 'python manage.py shell'
abbr copy 'xclip -selection c'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment