Hi,

While working on the assignment, I've found this little addition
really useful while working with gini and I wanted to share it with
others.
I execute these two lines :
export IP=`ifconfig eth0|grep inet\ addr|cut -d " " -s -f 12|cut -d : -s -f 2`
export PS1='${debian_chroot:+($debian_chroot)[EMAIL PROTECTED]:\w\$ '

It gives you a bash prompt like this : [EMAIL PROTECTED]:/etc#

Which is really useful to have since we get : the IP address and the
current working directory.
Maybe it could be added in the .bashrc in future release?

Eric Vachon
_______________________________________________
gini mailing list
gini@cs.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/gini

Reply via email to