[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting custom prompts to work under v1.3.1



 Try this:

PS1="[\u@\w] "

This will give your user name followed by the "@" then followed by the
current working directory, which is ~ for $HOME. So, my prompt for my
home directory looks like [eric@~], and then say for a "bin" directory, 
[eric@~/bin]. 
-- 
                ___ 
 ___ __ _ _ __ |_  )
/ -_) _` | '  \ / / 
\___\__, |_|_|_/___|
    |___/           


Reply to: