Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
changing prompt (HELP)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Fri May 07, 2004 11:40 pm    Post subject: changing prompt (HELP) Reply with quote

Hi, Im getting nuts with this prompit thing...

here is the config in my .bashrc

case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~ #}"'
;;
screen)
PROMPT_COMMAND='echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~ #}"'
;;
esac


Why the hell is there a #bash-2.05b in my prompt?
It mess all the prompt, how do I remove it?
Back to top
View user's profile Send private message
Given M. Sur
l33t
l33t


Joined: 03 Feb 2004
Posts: 648
Location: No such file or directory

PostPosted: Fri May 07, 2004 11:41 pm    Post subject: Reply with quote

This should help you:
http://www-106.ibm.com/developerworks/linux/library/l-tip-prompt/
_________________
What is the best [insert-type-of-program-here]?
Back to top
View user's profile Send private message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Sat May 08, 2004 1:06 am    Post subject: Reply with quote

00420 wrote:
This should help you:
http://www-106.ibm.com/developerworks/linux/library/l-tip-prompt/


thanks, it helped me alot :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum