Merge branch 'master' of github.com:rupa/z

This commit is contained in:
rupa committed 2012-07-11 17:08:32 -04:00
commit 144b89b4a4
1 file changed
+1 -1
+1 -1
View File
@@ -142,7 +142,7 @@ _z() {
if( short == "/" ) return
# escape regex chars in right hand side
#gsub(/[\(\[\|]/, "\\\&", short)
gsub(/[\(\[\|]/, "\\&", short)
# shortest match must be common to each match
for( i in matches ) if( matches[i] && i !~ short ) return