OSDN Git Service

Remove auto addition of ~/bin subdirectories to the path.
authorElliott Hughes <enh@google.com>
Fri, 25 Sep 2015 00:18:28 +0000 (17:18 -0700)
committerElliott Hughes <enh@google.com>
Fri, 25 Sep 2015 15:11:32 +0000 (08:11 -0700)
Change-Id: Icde133fb21fa93ba3909b40da62da81654be1bab

mkshrc

diff --git a/mkshrc b/mkshrc
index 510fdb7..731ee9a 100644 (file)
--- a/mkshrc
+++ b/mkshrc
@@ -59,12 +59,3 @@ function hd {
 function setenv {
        eval export "\"$1\""'="$2"'
 }
-
-for p in ~/bin; do
-       [[ -d $p/. ]] || continue
-       [[ :$PATH: = *:$p:* ]] || PATH=$p:$PATH
-done
-
-unset p
-
-: place customisations above this line