diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 09:38:14 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 09:38:14 +0000 |
commit | 2f76a51352acacc7618f771dfbe2144fed9f4acd (patch) | |
tree | 56763dbdc0abd35b669200673692bd03a84bac2f /Completion/Core/_path_files | |
parent | 3259e583b0d8505c099ab76ca7cec264511c45e8 (diff) | |
download | zsh-2f76a51352acacc7618f771dfbe2144fed9f4acd.tar.gz zsh-2f76a51352acacc7618f771dfbe2144fed9f4acd.tar.xz zsh-2f76a51352acacc7618f771dfbe2144fed9f4acd.zip |
zsh-workers/9191
Diffstat (limited to 'Completion/Core/_path_files')
-rw-r--r-- | Completion/Core/_path_files | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 39e02fb58..9da2fdd81 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -86,6 +86,15 @@ if (( ! ( $#group + $#expl ) )); then else _description files expl file fi + tmp1=$expl[(I)-M] + if (( tmp1 )); then + match="$match $expl[1+tmp1]" + if (( $#matcher )); then + matcher[2]="$matcher[2] $expl[1+tmp1]" + else + matcher=(-M "$expl[1+tmp1]") + fi + fi fi [[ -n "$tmp1" && $#addsfx -ne 0 ]] && addsfx[1]=-qS |