diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-21 02:25:15 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-21 02:25:15 +0000 |
commit | 4540e0eba52dab45a94a8451084d7333a61b7307 (patch) | |
tree | b5a6d0cfa72c3a121267f9d754a4b69118c890f5 /Completion | |
parent | 95230a1684a7d864a5db128b8fc56669c6555ded (diff) | |
download | zsh-4540e0eba52dab45a94a8451084d7333a61b7307.tar.gz zsh-4540e0eba52dab45a94a8451084d7333a61b7307.tar.xz zsh-4540e0eba52dab45a94a8451084d7333a61b7307.zip |
zsh-workers/8340
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_path_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 4bdde4d20..3fc37191a 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -277,7 +277,7 @@ for prepath in "$prepaths[@]"; do # otherwise this would keep `_files' from completing all filenames # if none of the patterns match. - if [[ -z "$tpre$tsuf" ]]; then + if [[ -z "$tpre$tsuf" && -n "$pre$suf" ]]; then tmp1=( "$tmp2[@]" ) addsfx=(-S '') remsfx=() |