Created
August 23, 2017 00:14
-
-
Save grafluxe/0cbb0ef51151dc47ff04b4bc4f6cce3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=dxfxcxdxbxegedAbAgacdx | |
export PATH="/usr/local/bin:$PATH" | |
cyan="$(tput setaf 6)"; | |
reset="$(tput sgr0)"; | |
PS1='\[$cyan\]> \W \$ \[$reset\]'; | |
if [ -f ~/.git-completion.bash ]; then | |
source ~/.git-completion.bash; | |
fi | |
if [ -f ~/.git-prompt.sh ]; then | |
source ~/.git-prompt.sh; | |
PS1='\[$cyan\]> \W $(__git_ps1 "(%s) ")\$ \[$reset\]'; | |
fi | |
if [ -f ~/.to/to.sh ]; then | |
source ~/.to/to.sh; | |
source ~/.to/to-completion.sh; | |
fi | |
alias lh="python -m SimpleHTTPServer"; |
Note that these color settings work best when using a dark theme (i.e. Terminal's "Pro" profile/theme).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git-completion.bash
+git-prompt.sh
: https://github.com/git/git/tree/master/contrib/completionto.sh
: https://github.com/Grafluxe/to.sh