Trivial code cleanup.
This commit is contained in:
parent
c398b1c56f
commit
61b91cb41b
@ -675,9 +675,8 @@ _filedir()
|
||||
fi
|
||||
|
||||
# If the filter failed to produce anything, try without it
|
||||
if [[ -n "$1" ]] && [[ "$1" != -d ]] && [[ ${#toks[@]} -lt 1 ]] ; then
|
||||
toks=( ${toks[@]-} $( compgen -f -- $quoted) )
|
||||
fi
|
||||
[[ -n "$1" && "$1" != -d && ${#toks[@]} -lt 1 ]] && \
|
||||
toks=( ${toks[@]-} $( compgen -f -- $quoted ) )
|
||||
|
||||
[ ${#toks[@]} -ne 0 ] && _compopt_o_filenames
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user