Skip to content

Instantly share code, notes, and snippets.

@ian-moore
Last active September 20, 2018 03:41
Show Gist options
  • Save ian-moore/7d13a5846350dfcd52674538898a0ca8 to your computer and use it in GitHub Desktop.
Save ian-moore/7d13a5846350dfcd52674538898a0ca8 to your computer and use it in GitHub Desktop.
source ~/.bash/git-prompt.sh # Show git branch name
export GIT_PS1_SHOWCOLORHINTS=true # Show branch name in color
# Prompt
export PROMPT_COMMAND='__git_ps1 "\e[37m[\t] \e[33m\w\e[0m" "\e[92m\n\\\$\e[0m "'
# Modify PATH
export PATH=~/bin:~/.local/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment