Skip to content

Instantly share code, notes, and snippets.

@arbelt
Last active September 14, 2017 20:44
Show Gist options
  • Save arbelt/4cc3f3f1687ddce3898295c69ad9c9fe to your computer and use it in GitHub Desktop.
Save arbelt/4cc3f3f1687ddce3898295c69ad9c9fe to your computer and use it in GitHub Desktop.
fish abbreviations
abbr R 'R --no-save'
abbr gst 'git status'
abbr gd 'git diff'
abbr ga 'git add'
abbr gc 'git commit'
abbr gdc 'git diff --cached'
abbr gcm 'git commit -m'
abbr gdt 'git difftool --extcmd icdiff'
abbr gl 'git pull'
abbr gco 'git checkout'
abbr gfa 'git fetch --all'
abbr gau 'git add -u'
abbr vimrc 'vim /Users/azw803/.vimrc'
abbr glog git\ log\ --graph\ --pretty=format:\'\%Cred\%h\%Creset\ -\%C\(yellow\)\%d\%Creset\ \%s\ \%Cgreen\(\%cr\)\ \%C\(bold\ blue\)\<\%an\>\%Creset\%C\(bold\ green\)\'
abbr psz ps\ -a\ -o\ pid,stat,command\ \|\ awk\ \'NR==1\{print\ \$0\}\;\{if\(\$2==\"T\"\)\ print\ \}\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment