Skip to content

Instantly share code, notes, and snippets.

@rawburt
Created May 15, 2018 03:59
Show Gist options
  • Save rawburt/06c0944220668466f654aa372291a07c to your computer and use it in GitHub Desktop.
Save rawburt/06c0944220668466f654aa372291a07c to your computer and use it in GitHub Desktop.
# user env
alias __git_ps1="git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/(\1) /'"
export PS1="\[\033[0;31m\][\t] \[\033[0;37m\]\W \[\033[0;36m\]\$(__git_ps1)\[\033[0;31m\]$ \[\033[0m\]"
alias ls='ls -laG'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment