dot/bashrc: Unset temporary variables used in constructing the prompt.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 8 Jan 2015 14:07:05 +0000 (14:07 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 Jan 2015 14:07:05 +0000 (14:07 +0000)
There's too much cruft in the interactive shell namespace anyway.

dot/bashrc

index 1ed4aa0..a7173f7 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
 
 ###--------------------------------------------------------------------------