summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-05-06 13:06:00 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-05-06 13:06:00 +0000
commitc6873b69a100bde0f7b3df6fbcbdd6b82e592f29 (patch)
tree60e6e4b7c1e0cea162148e4797f06651b44a8f5f /app-shells/bash-completion/files
parentReadded to ~ppc (diff)
downloadhistorical-c6873b69a100bde0f7b3df6fbcbdd6b82e592f29.tar.gz
historical-c6873b69a100bde0f7b3df6fbcbdd6b82e592f29.tar.bz2
historical-c6873b69a100bde0f7b3df6fbcbdd6b82e592f29.zip
Revision bump; add patch for bug in _command meta-completion (sudo -<TAB> fex).
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'app-shells/bash-completion/files')
-rw-r--r--app-shells/bash-completion/files/20050121/09_all_command.diff16
-rw-r--r--app-shells/bash-completion/files/digest-bash-completion-20050121-r8 (renamed from app-shells/bash-completion/files/digest-bash-completion-20050121-r7)0
2 files changed, 16 insertions, 0 deletions
diff --git a/app-shells/bash-completion/files/20050121/09_all_command.diff b/app-shells/bash-completion/files/20050121/09_all_command.diff
new file mode 100644
index 000000000000..1a723b55e566
--- /dev/null
+++ b/app-shells/bash-completion/files/20050121/09_all_command.diff
@@ -0,0 +1,16 @@
+--- bash_completion.orig/bash_completion 2005-05-04 01:01:21.000000000 -0400
++++ bash_completion/bash_completion 2005-05-04 01:15:55.000000000 -0400
+@@ -3024,7 +3024,12 @@
+ cmd=${COMP_WORDS[1]}
+ if [[ "$cmd" == -* ]] ; then
+ for (( i=1 ; i<=COMP_CWORD ; i++)) ; do
+- COMP_WORDS[i]=${COMP_WORDS[i+1]}
++ if [[ ${i} -lt ${COMP_CWORD} ]] ; then
++ COMP_WORDS[i]=${COMP_WORDS[i+1]}
++ else
++ done=1
++ break
++ fi
+ done
+ COMP_CWORD=$(($COMP_CWORD-1))
+ else
diff --git a/app-shells/bash-completion/files/digest-bash-completion-20050121-r7 b/app-shells/bash-completion/files/digest-bash-completion-20050121-r8
index 5b0dcdfbb97e..5b0dcdfbb97e 100644
--- a/app-shells/bash-completion/files/digest-bash-completion-20050121-r7
+++ b/app-shells/bash-completion/files/digest-bash-completion-20050121-r8