The default ubuntu linux prompt shows the all the directories:
user@user~desktop:~/home/user/work/project$
To make it shorter, add following two lines:
PS1="[\W]\\$ "
PS2="> "
to .bashrc file. Don't forget to 'source ~/.bashrc'
Wednesday, October 28, 2009
Get a short prompt in linux terminal
Subscribe to:
Post Comments (Atom)
This is cool. TFS
ReplyDelete