git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fbd163
)
Removed unnecessary subshell for tty -s check.
author
Iain Patterson
<me@iain.cx>
Fri, 26 Feb 2010 07:50:03 +0000
(07:50 +0000)
committer
Iain Patterson
<me@iain.cx>
Thu, 18 Mar 2010 15:50:10 +0000
(15:50 +0000)
.bash_profile
patch
|
blob
|
history
.bashrc
patch
|
blob
|
history
diff --git
a/.bash_profile
b/.bash_profile
index
61a04b5
..
d2f4fc6
100644
(file)
--- a/
.bash_profile
+++ b/
.bash_profile
@@
-1,4
+1,4
@@
-if
$(tty -s)
|| [ "${0:0:1}" = "-" -o "$1" = "force" ]; then
+if
tty -s
|| [ "${0:0:1}" = "-" -o "$1" = "force" ]; then
# Remember if nocaseglob was on.
shopt -q nocaseglob
nocg=$?
diff --git
a/.bashrc
b/.bashrc
index
d56387e
..
3d80825
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-1,4
+1,4
@@
-if
$(tty -s)
; then
+if
tty -s
; then
. /etc/profile
. ~/.bash_profile
fi