Prevent extraneous shifting
This commit is contained in:
1 parent
5741d9044d
commit
cee0887f77
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; [ "$2" ] && 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