Created
September 2, 2011 14:08
-
-
Save romanmt/1188678 to your computer and use it in GitHub Desktop.
Bash Profile
This file contains hidden or 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
| #!/bin/bash | |
| export CLICOLOR=1 | |
| export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
| alias ls='ls -pFh' | |
| alias grep='grep --color=auto' | |
| # Set git autocompletion and PS1 integration | |
| if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then | |
| . /usr/local/git/contrib/completion/git-completion.bash | |
| fi | |
| GIT_PS1_SHOWDIRTYSTATE=true | |
| if [ -f /opt/local/etc/bash_completion ]; then | |
| . /opt/local/etc/bash_completion | |
| fi | |
| export PS1='\[$(tput sgr0)$(tput setaf 5)\]\w\[$(tput sgr0)$(tput setaf 2)\] $(__git_ps1 "[%s]") \n\[$(tput setaf 3)\]\u@\h \[$(tput sgr0)\]=> ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment