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:
2b92ce5
)
dot/bash_profile: Read bashrc if it's been lost.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 23 Oct 2009 15:45:07 +0000
(16:45 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 23 Oct 2009 15:45:07 +0000
(16:45 +0100)
Do this even if the profile has already been read. Nautilus is
crazed in some unhelpful way.
dot/bash_profile
patch
|
blob
|
blame
|
history
diff --git
a/dot/bash_profile
b/dot/bash_profile
index ffea97f7de2bde283c11f5ed7c5374ac98164055..e45fe4154840034eade7f564c458a1592c4552be 100644
(file)
--- a/
dot/bash_profile
+++ b/
dot/bash_profile
@@
-232,11
+232,11
@@
fi
[ -f "$HOME/.profile-local" ] && . "$HOME/.profile-local"
+fi
+
# --- Now, if my .bashrc hasn't been run yet, run it ---
#
# Oh, don't do that if we don't have a terminal.
[ -z "$__mdw_bashrc" ] && [ -t 0 ] && \
[ -r $HOME/.bashrc ] && . $HOME/.bashrc
-
-fi