-BEGIN PGP SIGNED MESSAGE-
On Mon, 30 Aug 1999, David Blackman wrote:
> so your basic prompt (from dos) is:
> export ps1"\w$"
i'd recommend the following instead:
export PS1='\w\$ '
This will give the current working directory, followed by a $ if non-root
or a # if root. In either cas
Try this:
PS1="[EMAIL PROTECTED] "
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 [EMAIL PROTECTED], and then say for a "bin"
directory,
[EMAIL PROTECTED]/bin].
--
you're using bash?
if you are go into the bash man page and search (that /) for ps1,
here are all the bindings anyway,
in your .bash_profile put
export PS1="[some escape key sequences and some static chars]"
\a an ASCII bell character (07)
\d the date
Hello again.
First off, I'd like to thank Mr. Pitts and Mr. Maze, who very kindly
answered my previous mail.
Now, (and a little more to the point :) here 0is my present dilemma:
I have been a long time DOS user, and I'm quite accustomed to having a
prompt with the path you're in, like this:
4 matches
Mail list logo