summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-30 03:13:44 -0500
committerdoy <doy@tozt.net>2009-01-30 03:13:44 -0500
commitfb9f388e4ac9433ab5b55c5d7032792a929522ef (patch)
tree6f8f01a320c95dc1bc1449abbb8e69ac366fab01 /bashrc
parentc56a070c41e2662fc521a262f5b5269e31b8ff02 (diff)
downloadconf-fb9f388e4ac9433ab5b55c5d7032792a929522ef.tar.gz
conf-fb9f388e4ac9433ab5b55c5d7032792a929522ef.zip
use \$ rather than just $ in prompt (# if root)
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 6dcefb6..6e0c4a6 100644
--- a/bashrc
+++ b/bashrc
@@ -205,7 +205,7 @@ function _set_vcs {
__vcs="(${vcs:0:1}${vcs_dirty})"
}
export PROMPT_COMMAND="_set_error;_set_vcs;$PROMPT_COMMAND"
-export PS1="\[\$__error_color\]\$__error \[${HIYELLOW}\][\t] \[${HIGREEN}\]\u@\h \[${HIBLUE}\]\W\[${CYAN}\]\$__vcs \[${HIBLUE}\]$\[${NORM}\] "
+export PS1="\[\$__error_color\]\$__error \[${HIYELLOW}\][\t] \[${HIGREEN}\]\u@\h \[${HIBLUE}\]\W\[${CYAN}\]\$__vcs \[${HIBLUE}\]\\$\[${NORM}\] "
# }}}
# }}}
# external files {{{