zsh:diffcmds: Quote only once, for real now
This commit is contained in:
@@ -689,9 +689,10 @@ diffcmds() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Split and quote special characters
|
# Quote special characters and split into arrays
|
||||||
template=("${(q@)@:1:$((i-1))}")
|
set -- "${(q@)@}"
|
||||||
args=("${(q@)@:$((i+1))}")
|
template=("${@:1:$((i-1))}")
|
||||||
|
args=("${@:$((i+1))}")
|
||||||
# Unquote standalone pipes
|
# Unquote standalone pipes
|
||||||
template=("${(@)template/#%\\|/|}")
|
template=("${(@)template/#%\\|/|}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user