Thursday, February 11, 2010

bash PS1 setup

export PS1="\h \W$"

\w - absolute path
\u - user
\v - version of bash
\s - shell environment

No comments:

Post a Comment