chiark / gitweb /
dot/bashrc: Unset temporary variables used in constructing the prompt.
[profile] / dot / bashrc
index 1ed4aa019b8ce5c39144cb38de22d530a07553a6..a7173f7bc1bb9187a139495ff6ac01df4b4405fd 100644 (file)
@@ -69,7 +69,7 @@ if [ -t 0 ]; then
   ## Build the prompt string.
   PS1="$nl$bold$left$sec_l$u\\h$sec_r \\w$marker$right$unbold"
   PS2="$PS1 $bold>$unbold "
-
+  unset nl bold unbold left right sec_l sec_r marker
 fi
 
 ###--------------------------------------------------------------------------