git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fb884cc
)
+Prevent g$i from system directory overriding customized $i binary
author
short
<>
Thu, 15 Apr 2004 09:39:27 +0000
(09:39 +0000)
committer
short
<>
Thu, 15 Apr 2004 09:39:27 +0000
(09:39 +0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
dfc45d5
..
54395c5
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-90,6
+90,8
@@
unset _perldir
unset -f _bash_profile_addpath
for i in tar ls find cp mv ln md5sum du grep ar chown chmod tail;do
unset -f _bash_profile_addpath
for i in tar ls find cp mv ln md5sum du grep ar chown chmod tail;do
+ # Prevent g$i from system directory overriding customized $i binary
+ which $i 2>/dev/null | grep /net/jsc-nfs.czech.sun.com/export/jscqa-local/ >/dev/null && continue
which g$i 2>/dev/null | grep '^/' >/dev/null && alias $i=g$i
done
which g$i 2>/dev/null | grep '^/' >/dev/null && alias $i=g$i
done