While working on the assignment, I've found this little addition
really useful while working with gini and I wanted to share it with
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

Reply via email to