Merge pull request #130 from notwa/quiet_shift

Prevent extraneous shifting
This commit is contained in:
rupa committed 2015-02-14 13:42:56 -05:00
commit 588fbb917b
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ _z() {
t) local typ="recent";;
esac; opt=${opt:1}; done;;
*) local fnd="$fnd${fnd:+ }$1";;
esac; local last=$1; shift; done
esac; local last=$1; [ "$#" -gt 0 ] && shift; done
[ "$fnd" -a "$fnd" != "^$PWD " ] || local list=1
# if we hit enter on a completion just go there