My linux prompt
Just a note to myself. This is what I'm putting in my .bashrc file for the prompt
Links:
PS1='-- cd \w --\n[\u@\H] $ 'Looks like this:
export PS1
-- cd /home/scott --I put the cd in there so I can copy and paste to older directories even easier. I also like to put my prompt on two lines with the path first so that I don't get punished for long paths.
[scott@sysbh17] $
Links:
- The Bash Prompt HOWTO has more information
- And Giles Orr has more samples.
Comments