Journal planckscale's Journal: custom smiley bash prompt
to change the root prompt:
issue command:
#vi
near bottom of file change
PS1 line to
PS1="\u@\h \[\e[33m\]\W\[\e[0m\] \[\`if [[ \$? = "0" ]]; then echo '\e[32m=)\e[0m'; else echo '\e[31m=(\e[0m' ; fi\`\] \$ "
custom smiley bash prompt More Login
custom smiley bash prompt
Slashdot Top Deals