Skip to content

Instantly share code, notes, and snippets.

@vojd
Created October 6, 2016 11:30
Show Gist options
  • Save vojd/6efbb3f4fab190cface9475a6bff016c to your computer and use it in GitHub Desktop.
Save vojd/6efbb3f4fab190cface9475a6bff016c to your computer and use it in GitHub Desktop.
~/.profile
source /usr/local/etc/bash_completion.d/git-completion.bash
source /usr/local/etc/bash_completion.d/git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
GREEN="\[$(tput setaf 2)\]"
RESET="\[$(tput sgr0)\]"
export PS1="\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;104m\]@\[$(tput sgr0)\]\[\033[38;5;176m\]\w\[$(tput sgr0)\]\[\033[38;5;96m\]:\[$(tput sgr0)\]\[\033[38;5;97m\] \[$(tput sgr0)\] \w\$(__git_ps1 \" ${GREEN}(%s)${RESET} \")\$ "
force_color_prompt=yes
export PATH="$HOME/.node/bin:$PATH"
alias la='ls -latrh'
alias gs='git status'
alias gl='git log -4'
alias gcm='git commit -m '
alias gb='git branch'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment