projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a668198
)
.bashrc: don't source file for non-bash shells
author
cmccabe
<cmccabe@ubuntu.(none)>
Wed, 9 May 2012 22:19:30 +0000 (15:19 -0700)
committer
cmccabe
<cmccabe@vm0.local>
Mon, 20 Aug 2012 22:17:03 +0000 (15:17 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
b424553
..
ca8b97a
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-1,5
+1,8
@@
# .bashrc
+if [ "x$BASH_VERSION" = "x" ]; then
+ :
+else
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@@
-48,3
+51,4
@@
export HISTIGNORE="[ ]*"
# Append history list of current session to HISTFILE
shopt -s histappend
+fi