From ba1bcef67f9e248135d5c2514b2c67cc2fbf9ff8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 30 Jun 2008 21:24:12 +0000 Subject: 25258(?): donʼt use -M option with -U in _path_files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 5 +++++ 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 + + * 25258(?): Completion/Unix/Type/_path_files: donʼt + use -M option with -U. + 2008-06-30 Peter Stephenson * 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 -- cgit 1.4.1