diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-30 21:24:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-30 21:24:12 +0000 |
commit | ba1bcef67f9e248135d5c2514b2c67cc2fbf9ff8 (patch) | |
tree | 7b2cbb1047fb7d0040356e945f249cea85c9de6a | |
parent | db59a707c6a149a2c5849fa8439aa148a887e175 (diff) | |
download | zsh-ba1bcef67f9e248135d5c2514b2c67cc2fbf9ff8.tar.gz zsh-ba1bcef67f9e248135d5c2514b2c67cc2fbf9ff8.tar.xz zsh-ba1bcef67f9e248135d5c2514b2c67cc2fbf9ff8.zip |
25258(?): donʼt use -M option with -U in _path_files
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Type/_path_files | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog index 607b3e5ce..6e5203a97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25258(?): Completion/Unix/Type/_path_files: donʼt + use -M option with -U. + 2008-06-30 Peter Stephenson <pws@csr.com> * unposted: Functions/Calendar/calendar_scandate: unlocalised diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 413f69635..970c3948a 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -598,7 +598,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" \ -s "/${tmp3#*/}$ISUFFIX" \ -W "$prepath$realpath$testpath" \ - "$pfxsfx[@]" -M "r:|/=* r:|=*" \ + "$pfxsfx[@]" \ $listopts \ -a tmp1 else @@ -608,7 +608,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" \ -s "$ISUFFIX" \ -W "$prepath$realpath$testpath" \ - "$pfxsfx[@]" -M "r:|/=* r:|=*" \ + "$pfxsfx[@]" \ $listopts \ -a tmp1 fi @@ -617,7 +617,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" \ -s "$ISUFFIX" \ -W "$prepath$realpath$testpath" \ - "$pfxsfx[@]" -M "r:|/=* r:|=*" \ + "$pfxsfx[@]" \ $listopts \ -a tmp1 fi @@ -627,7 +627,7 @@ for prepath in "$prepaths[@]"; do tmp4=( -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" -s "$ISUFFIX" -W "$prepath$realpath$testpath" - "$pfxsfx[@]" -M "r:|/=* r:|=*" ) + "$pfxsfx[@]" ) if [[ -z "$listsfx" ]]; then for i in "$tmp1[@]"; do tmpdisp=("${i%%/*}") @@ -647,7 +647,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp2" \ -s "$ISUFFIX" \ -W "$prepath$realpath$testpath" \ - "$pfxsfx[@]" -M "r:|/=* r:|=*" \ + "$pfxsfx[@]" \ $listopts \ -a tmp1 fi @@ -716,7 +716,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf "$mopts[@]" -p "$IPREFIX$linepath$tmp3/" \ -s "/$tmp4$i$ISUFFIX" \ -W "$prepath$realpath${mid%/*/}/" \ - "$pfxsfx[@]" -M "r:|/=* r:|=*" $listopts - "$tmp2" + "$pfxsfx[@]" $listopts - "$tmp2" done else if [[ "$osuf" = */* ]]; then @@ -747,7 +747,7 @@ for prepath in "$prepaths[@]"; do compadd -U -Qf -p "$IPREFIX$linepath$tmp4" \ -s "$ISUFFIX" \ -W "$prepath$realpath$testpath" \ - "$pfxsfx[@]" "$mopts[@]" -M "r:|/=* r:|=*" $listopts -a tmp1 + "$pfxsfx[@]" "$mopts[@]" $listopts -a tmp1 fi fi fi |