Merge pull request #130 from notwa/quiet_shift
Prevent extraneous shifting
This commit is contained in:
commit
588fbb917b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user