Another possibility is to set PS1 in the new shell to an expanded PS1 from 
the old shell by creating a dynamic string:

fs@zhenghe ~/tmp $ echo "export PS1=\"(sage -sh) $PS1\"" #run this string 
in the new shell
export PS1="(sage -sh) \[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] 
"

Maybe useful?

-Keshav

----
Join us in #sagemath on irc.freenode.net !

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to