Monday, March 22, 2010

Include the current directory within your prompt

Include the current directory within your prompt

To include the current directory within the prompt, include
the following line into your $HOME/.kshrc (KSH) or $HOME/.bashrc
(BASH):


    PS1='$PWD $'
    export PS1
      

No comments:

Post a Comment