remove trailing whitespace
This commit is contained in:
parent
00560a88b4
commit
91a8ed2c1d
@ -622,11 +622,11 @@ _filedir()
|
||||
if [[ ${cur:0:1} != "'" ]]; then
|
||||
[[ -d ${toks[i]} ]] && toks[i]="${toks[i]}"/
|
||||
if [[ ${cur:0:1} == '"' ]]; then
|
||||
toks[i]=${toks[i]//\\/\\\\}
|
||||
toks[i]=${toks[i]//\\/\\\\}
|
||||
toks[i]=${toks[i]//\"/\\\"}
|
||||
toks[i]=${toks[i]//\$/\\\$}
|
||||
else
|
||||
toks[i]=$(printf %q ${toks[i]})
|
||||
toks[i]=$(printf %q ${toks[i]})
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user