git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup completion variables.
[profile.git]
/
.bash_profile
diff --git
a/.bash_profile
b/.bash_profile
index
81a58de
..
58f8c11
100644
(file)
--- a/
.bash_profile
+++ b/
.bash_profile
@@
-1,5
+1,5
@@
# $Id$
# $Id$
-if $(tty -s) ||
$(shopt -q login_shell)
; then
- for i in ~/.profile.d/*.bashrc; do . $i; done
+if $(tty -s) ||
[ "${0:0:1}" = "-" ]
; then
+ for i in ~/.profile.d/*.bashrc; do . $i; done
; unset i
__ps1
fi
__ps1
fi