Merge branch 'master' of github.com:rupa/z
This commit is contained in:
commit
5dc2a863cc
1 file changed
+1
-1
@@ -163,7 +163,7 @@ _z() {
|
||||
# use a copy to escape special characters, as we want to return
|
||||
# the original. yeah, this escaping is awful.
|
||||
clean_short = short
|
||||
gsub(/[\(\)\[\]\|]/, "\\\\&", clean_short)
|
||||
gsub(/\[\(\)\[\]\|\]/, "\\\\&", clean_short)
|
||||
for( x in matches ) if( matches[x] && x !~ clean_short ) return
|
||||
return short
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user