From: Mark Wooding Date: Thu, 8 Jan 2015 14:07:05 +0000 (+0000) Subject: dot/bashrc: Unset temporary variables used in constructing the prompt. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/bb5c6b7eb989fbdbc4d2d0c783c8312f64fcd807?ds=inline;hp=-c dot/bashrc: Unset temporary variables used in constructing the prompt. There's too much cruft in the interactive shell namespace anyway. --- bb5c6b7eb989fbdbc4d2d0c783c8312f64fcd807 diff --git a/dot/bashrc b/dot/bashrc index 1ed4aa0..a7173f7 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -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 ###--------------------------------------------------------------------------