This bugs me everytime after a reflash. PS1 always shows a $ in the
prompt. With \\$ it shows a # for root and a $ for other users. I
don't know to which package this this file belongs.
--- /etc/profile.orig Fri Apr 16 19:08:37 2010
+++ /etc/profile Fri Apr 16 19:07:02 2010
@@ -35,7 +35,7 @@
alias pico=nano
alias fso='cd /local/pkg/fso'
alias ipkg='opkg'
-export PS1="\[\033[01;32m\...@\h\[\033[01;34m\] \w $\[\033[00m\] "
+export PS1="\[\033[01;32m\...@\h\[\033[01;34m\] \w \\$\[\033[00m\] "
if [ "$DISPLAY" = "" ]
then
export DISPLAY=localhost:0
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel