Re: Prompt in Bash
"Gonzalo A. Diethelm" <firstname.lastname@example.org> writes:
> Rob, thanks a lot for your script. I think there is a small glitch,
Not surprised :>
> > export PS1='\n\!\$ '
> > export PROMPT_COMMAND='eval set_titlebar `whoami`@`hostname`:`my_dirname`'
> When I did this, the title bar showed the full path, without replacing
> $HOME with a '~' character. I got rid of the "eval", and things were
Hmm. I have no idea now why that eval's there. I must have thought I
needed it at some point (or I copied a pasted something I shouldn't
have), but things seem to work fine without it.
The eval might also explain why others were getting the "command not
found errors", but if so, I don't understand why I wasn't getting them
Thanks for pointing that out.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .