שָׁלוֹם
Vroooooooom :-)
found on mailinglist of hulug
So long and thanks for all the fish :-)
שִׁמְעוֹן
שָׁלוֹם
cat /etc/issue
[34m _____ _ [34m| ___|__ __| | ___ _ __ __ _ [0;37mRelease: 10 (Cambridge) [34m| |_ / _ \\/ _` |/ _ \\| '__/ _` | [0;37mKernel: \r [34m| _| __/ (_| | (_) | | | (_| | [34m|_| \\___|\\__,_|\\___/|_| \\__,_| [0;37mTerminal: \l
excerpt of /etc/bashrc (above PS1 definition)
# Colors
normal='[0m'
bold='[1m'
black='[0;30m'
darkgrey='[1;30m'
red='[0;31m'
lightred='[1;31m'
green='[0;32m'
lightgreen='[1;32m'
brown='[0;33m'
brown='[1;33m'
blue='[0;34m'
lightblue='[1;34m'
violet='[0;35m'
lightviolet='[1;35m'
cyan='[0;36m'
lightcyan='[1;36m'
lightgrey='[0;37m'
white='[1;37m'
# define pwd
function show_pwd()
{
echo -e ${PWD////${normal}${bold}/${normal}${blue}}
}
excerpt of /etc/bashrc in the PS1 definition
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1='${bold}.:[${normal} ${green}\u${normal} ${bold}@${normal} ${red}\h${normal} ${bold}:${normal} ${blue}$(show_pwd)${normal} ${bold}]:.${normal}\n\$ '
Result:(in an Gnome-Terminal)
The specialty of this (in comparison to other prompt-templates in the web) is that the seperator is colored in a different color than the direcory. :-) You can select another seperator if you want. :-)

So long and thanks for all the fish :-)
שִׁמְעוֹן
שָׁלוֹם
Vor lauter Aprilscherze wollte ich heute nicht glauben dass CentOS 5.3 da ist.
So long and thanks for all the fish :-)
שִׁמְעוֹן