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
Script to get environment variables for a process.
[profile.git]
/
.bash_profile
diff --git
a/.bash_profile
b/.bash_profile
index
a89f59e
..
6fe0759
100644
(file)
--- a/
.bash_profile
+++ b/
.bash_profile
@@
-1,4
+1,4
@@
-if
tty -s || [
"${0:0:1}" = "-" -o "$1" = "force" ]; then
+if
[ -t 0 -o
"${0:0:1}" = "-" -o "$1" = "force" ]; then
# Remember if nocaseglob was on.
shopt -q nocaseglob
nocg=$?