My linux prompt

Just a note to myself. This is what I'm putting in my .bashrc file for the prompt
PS1='-- cd \w --\n[\u@\H] $ '
export PS1
Looks like this:
-- cd /home/scott --
[scott@sysbh17] $ _
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.

Links:

Comments

Popular posts from this blog

Shortest Sudoku solver in Python

Seven Segment Display in Inkscape

Dot to Png