chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/bashrc: Unset temporary variables used in constructing the prompt.
[profile]
/
dot
/
bashrc
diff --git
a/dot/bashrc
b/dot/bashrc
index 1ed4aa019b8ce5c39144cb38de22d530a07553a6..a7173f7bc1bb9187a139495ff6ac01df4b4405fd 100644
(file)
--- 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 "
## 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
###--------------------------------------------------------------------------
fi
###--------------------------------------------------------------------------