Quote properly in cat-highlight()
This commit is contained in:
parent
08d5e15e18
commit
16fcbdd23a
@ -30,7 +30,7 @@ if [[ -t 1 ]] && [[ -n "${CATOPEN}" || -n "${LESSOPEN}" ]]; then
|
||||
for arg in ${@}; do
|
||||
# Filter out file names
|
||||
if [[ "${arg[1]}" != "-" ]]; then
|
||||
files+="'${arg}'"
|
||||
files+=${(q)arg}
|
||||
else
|
||||
args+="${arg}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user