blaenk (owner)

Revisions

gist: 139894 Download_button fork
public
Public Clone URL: git://gist.github.com/139894.git
Embed All Files: show embed
Bash #
1
2
3
4
5
6
7
8
9
10
11
12
# To try it out, simply copy the 'export' line into any bash terminal and press enter
# If you would like to keep it, create/edit a/the .bash_profile file in your home
# directory and paste the lines in there and save. The changes should now be permanent
# unless you remove the lines from the .bash_profile
 
# Default is: \h:\W \u\$
# The format without the color codes: \u@\h:\w $
export PS1="\u\[$(tput setaf 2)\]@\[$(tput sgr0)\]\h\[$(tput setaf 2)\]:\[$(tput sgr0)\]\w \[$(tput setaf 2)\]$\[$(tput sgr0)\] "
 
# this is like the default set of color codes for ls -G except that directories are cyan
export LSCOLORS="gxfxcxdxbxegedabagacad"