Skip to content

Commit

Permalink
need to accept shlvl of 1 or 2 due to urxvt shlvl semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Kerley committed Sep 2, 2008
1 parent 024ff55 commit bd7130b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions env
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bd7130b

Please sign in to comment.