Skip to content

Instantly share code, notes, and snippets.

@phirework
Last active December 29, 2019 20:47
Show Gist options
  • Save phirework/919c104cbe08227311e4e909b5829e77 to your computer and use it in GitHub Desktop.
Save phirework/919c104cbe08227311e4e909b5829e77 to your computer and use it in GitHub Desktop.
# source ~/git-prompt.sh --> get from: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
red='\[\e[31m\]'
grn='\[\e[32m\]'
yel='\[\e[33m\]'
blu='\[\e[34m\]'
mag='\[\e[35m\]'
cyn='\[\e[36m\]'
end='\[\e[0m\]'
export PS1="[${yel}\t ${end}\W\$(__git_ps1 ': ${mag}%s${end}')] "
alias redock='eval "$(docker-machine env default)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment