Skip to content

Instantly share code, notes, and snippets.

@nverba
Last active March 17, 2020 00:46
Show Gist options
  • Save nverba/43a0bfd62e4fb32e1865 to your computer and use it in GitHub Desktop.
Save nverba/43a0bfd62e4fb32e1865 to your computer and use it in GitHub Desktop.
alias c='clear; printf %"$COLUMNS"s |tr " " "-"'
alias s="c; git status"
alias d="c; git diff --color"
alias r="reset"
alias p="c; git push"
alias l="c; git pull"
alias g="c; git commit -m 'Generic commit *to be squashed'"
alias x="c; git commit -am 'Generic commit *to be squashed'"
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
export PATH=$PATH:$HOME/.local/bin
export N_PREFIX=$HOME/.local
export HISTCONTROL=ignoreboth:erasedups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment