~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28509f0
)
dot/bashrc: Rename the guard variable back to `__mdw_bashrc'.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 9 Aug 2017 19:46:16 +0000
(20:46 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 9 Aug 2017 19:46:16 +0000
(20:46 +0100)
I think I thought it was going to move with the common definitions, but
it didn't.
Also, sneakily, set the dummy value to `t'.
dot/bashrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/bashrc
b/dot/bashrc
index
28d9bf9
..
4f3e5ba
100644
(file)
--- a/
dot/bashrc
+++ b/
dot/bashrc
@@
-6,9
+6,9
@@
__mdw_shell=bash
## Only do this if we haven't done it before. (Note that this guard isn't
## exported, so subshells will need to make their own arrangements.)
-case ${__mdw_
shell
rc+t} in
+case ${__mdw_
bash
rc+t} in
t) ;;
- *) __mdw_
shellrc=done
+ *) __mdw_
bashrc=t
## Fetch the common configuration.
. "$HOME/.shell-rc"