chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e662c3
)
dot/bashrc: Unset temporary variables used in constructing the prompt.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 8 Jan 2015 14:07:05 +0000
(14:07 +0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
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 "
-
+ unset nl bold unbold left right sec_l sec_r marker
fi
###--------------------------------------------------------------------------