Permalink
Browse files

need to accept shlvl of 1 or 2 due to urxvt shlvl semantics

  • Loading branch information...
1 parent 024ff55 commit bd7130b89542f73419d356cf334c807efdbefb61 Bryce Kerley committed Sep 2, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 env
View
3 env
@@ -1,5 +1,4 @@
-# Don't re-env for nested shells
-if [[ $SHLVL == 1 ]]; then
+if [[ $SHLVL < 3 ]]; then
mydir=`dirname $0`
for f in $mydir/??_*; do

0 comments on commit bd7130b

Please sign in to comment.