Skip to content

Instantly share code, notes, and snippets.

@danthegoodman1
Created January 25, 2018 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danthegoodman1/5614da138bf06f4856505293e9903e36 to your computer and use it in GitHub Desktop.
Save danthegoodman1/5614da138bf06f4856505293e9903e36 to your computer and use it in GitHub Desktop.
#export CLICOLOR=1
#export LSCOLORS=ExFxCxDxBxegedabagacad
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[32;1m\]\$(parse_git_branch)\[\033[35m\]$\[\033[m\] "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias nano='nano -c'
alias ..='cd ..'
alias py3="python3"
alias ipy3="ipython3"
alias bbunny="sudo screen /dev/tty.usbmodemch000001 115200"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment