Skip to Content

unix prompt that I like

Here's the *nix prompt I like:

 

It has colors and all sorts of things. 

 


export PS1="\[\033[40m\]\[\033[1;31m\]\u\[\033[1;37m\]@\[\e[1;32m\]\h \[\e[1;33m\]\w \e[1;31m\]>>\[\033[0m\]"

then if you have dircolors this can be useful too.

 

export LS_OPTIONS='--color=auto'
eval `dircolors ~/.dir_colors`