crumbtrail

Mar 13 2008

Bash Prompt

export PS1="\n\[\033[0;32m\]\w\[\033[0m\]\n[\u@\h]\$ "

Produces a prompt that looks something like this, with that initial newline giving some space from the output of the previous command:

~/src/lexblog/lexcode
[ches@porco]$ 
Page 1 of 1