diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-13 13:17:58 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-07-13 13:17:58 +0000 |
commit | d416a3ad35b030250dce4f8f2765556ca1f54dcf (patch) | |
tree | c720e6672e779844661f5c5ac949661a8fde624f /app-shells/bash-completion/files | |
parent | restore 1.3.6 at the request of: WGi <wgi@muenster.de> in bug #98303, but ... (diff) | |
download | historical-d416a3ad35b030250dce4f8f2765556ca1f54dcf.tar.gz historical-d416a3ad35b030250dce4f8f2765556ca1f54dcf.tar.bz2 historical-d416a3ad35b030250dce4f8f2765556ca1f54dcf.zip |
Version bump; removed old ebuild/patches.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-shells/bash-completion/files')
8 files changed, 69 insertions, 160 deletions
diff --git a/app-shells/bash-completion/files/20050121-gentoo.diff b/app-shells/bash-completion/files/20050121-gentoo.diff deleted file mode 100644 index 4669dcce62c2..000000000000 --- a/app-shells/bash-completion/files/20050121-gentoo.diff +++ /dev/null @@ -1,39 +0,0 @@ ---- bash_completion.orig 2005-01-20 06:29:03.982356288 -0500 -+++ bash_completion 2005-01-20 06:44:08.957779112 -0500 -@@ -105,7 +105,8 @@ - complete -f -X '!*.@(ogg|OGG|m3u|flac|spx)' ogg123 - complete -f -X '!*.@(mp3|MP3|ogg|OGG|pls|m3u)' gqmpeg freeamp - complete -f -X '!*.fig' xfig --complete -f -X '!*.@(mid?(i))' timidity playmidi -+complete -f -X '!*.@(mid?(i))' playmidi -+complete -f -X '!*.@(mid?(i)|rmi|RMI)' timidity - complete -f -X '*.@(o|so|so.!(conf)|a|tar?(.@(gz|bz2))|tgz|tbz2|rpm|zip|ZIP|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' vi vim gvim rvim view rview rgvim rgview gview - complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' emacs - complete -f -X '!*.@(exe|EXE|com|COM|scr|SCR)' wine -@@ -1582,7 +1583,7 @@ - COMPREPLY=( $( compgen -W '${changed[@]:-} \ - ${newremoved[@]:-}' -- $cur ) ) - else -- _filedir -+ COMPREPLY=($(compgen $default -- "$cur")) - fi - else - COMPREPLY=( $( compgen -W '-n -R -l -f -F -m -r' -- \ -@@ -5318,7 +5319,7 @@ - return 0 - ;; - -audiofile) -- _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV)' -+ _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)' - return 0 - ;; - -font) -@@ -5610,7 +5611,7 @@ - -xvidencopts -of --verbose' -- $cur) ) - ;; - *) -- _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV)' -+ _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|mid|MID|ts|TS)' - ;; - esac - diff --git a/app-shells/bash-completion/files/20050712/01_all_gkrellm.diff b/app-shells/bash-completion/files/20050712/01_all_gkrellm.diff new file mode 100644 index 000000000000..d8e92af45d26 --- /dev/null +++ b/app-shells/bash-completion/files/20050712/01_all_gkrellm.diff @@ -0,0 +1,8 @@ +--- bash_completion.orig/contrib/gkrellm 2005-04-20 02:19:05.000000000 -0400 ++++ bash_completion/contrib/gkrellm 2005-04-20 02:19:21.000000000 -0400 +@@ -33,4 +33,4 @@ + fi + + } +-complete -F _gkrellm gkrellm ++complete -F _gkrellm gkrellm gkrellm2 diff --git a/app-shells/bash-completion/files/20050712/02_all_cvs.diff b/app-shells/bash-completion/files/20050712/02_all_cvs.diff new file mode 100644 index 000000000000..4273e5272389 --- /dev/null +++ b/app-shells/bash-completion/files/20050712/02_all_cvs.diff @@ -0,0 +1,21 @@ +diff --exclude='*~' --exclude='.*' -I '$Id:' -urN bash_completion.orig/bash_completion bash_completion/bash_completion +--- bash_completion.orig/bash_completion 2005-05-18 23:59:24.000000000 -0400 ++++ bash_completion/bash_completion 2005-05-19 00:00:21.000000000 -0400 +@@ -1531,7 +1531,7 @@ + for i in ${entries[@]:-}; do + files=( ${files[@]/#$i//} ) + done +- COMPREPLY=( $( compgen -W '${files[@]}' -- \ ++ COMPREPLY=( $( compgen -X '*~' -W '${files[@]}' -- \ + $cur ) ) + fi + else +@@ -1584,7 +1584,7 @@ + COMPREPLY=( $( compgen -W '${changed[@]:-} \ + ${newremoved[@]:-}' -- $cur ) ) + else +- _filedir ++ COMPREPLY=( $(compgen $default -- "$cur") ) + fi + else + COMPREPLY=( $( compgen -W '-n -R -l -f -F -m -r' -- \ diff --git a/app-shells/bash-completion/files/20050712/03_all_find.diff b/app-shells/bash-completion/files/20050712/03_all_find.diff new file mode 100644 index 000000000000..84ce8d3fb86b --- /dev/null +++ b/app-shells/bash-completion/files/20050712/03_all_find.diff @@ -0,0 +1,23 @@ +--- bash_completion.orig/bash_completion 2005-04-06 12:19:18.102705608 +0100 ++++ bash_completion/bash_completion 2005-04-06 12:23:24.310276368 +0100 +@@ -925,8 +925,8 @@ + _command + return 0 + ;; +- -[acm]min|-[acm]time|-?(i)?(l)name|-inum|-?(i)path|-?(i)regex| \ +- -links|-perm|-size|-used|-printf) ++ -[acm]min|-[acm]time|-?(i)?(l)?(whole)name|-inum|-?(i)path| \ ++ -?(i)regex|-links|-perm|-size|-used|-printf) + # do nothing, just wait for a parameter to be given + return 0 + ;; +@@ -953,7 +953,8 @@ + -links -lname -mmin -mtime -name -newer -nouser \ + -nogroup -perm -regex -size -true -type -uid -used \ + -user -xtype -exec -fls -fprint -fprint0 -fprintf -ok \ +- -print -print0 -printf -prune -ls' -- $cur ) ) ++ -print -print0 -printf -prune -ls -wholename \ ++ -iwholename' -- $cur ) ) + + # this removes any options from the list of completions that have + # already been specified somewhere on the command line, as long as diff --git a/app-shells/bash-completion/files/20050712/04_all_command.diff b/app-shells/bash-completion/files/20050712/04_all_command.diff new file mode 100644 index 000000000000..1a723b55e566 --- /dev/null +++ b/app-shells/bash-completion/files/20050712/04_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-r1 b/app-shells/bash-completion/files/digest-bash-completion-20050121-r1 deleted file mode 100644 index 9db0f10e078e..000000000000 --- a/app-shells/bash-completion/files/digest-bash-completion-20050121-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 fafeed562b01a8dee079eb851579f2d2 bash-completion-20050121.tar.bz2 90140 -MD5 63dfa5f5a71bf494f44b9a6b89771dba gentoo-bashcomp-20050117.tar.bz2 15180 diff --git a/app-shells/bash-completion/files/digest-bash-completion-20050712 b/app-shells/bash-completion/files/digest-bash-completion-20050712 new file mode 100644 index 000000000000..f60e47e182bc --- /dev/null +++ b/app-shells/bash-completion/files/digest-bash-completion-20050712 @@ -0,0 +1 @@ +MD5 4f38a59eabf97a6dd7db0f10c0ee5063 bash-completion-20050712.tar.bz2 92282 diff --git a/app-shells/bash-completion/files/gentoo-bashcomp-20050117-equery.diff b/app-shells/bash-completion/files/gentoo-bashcomp-20050117-equery.diff deleted file mode 100644 index 8dc5cc1bc04b..000000000000 --- a/app-shells/bash-completion/files/gentoo-bashcomp-20050117-equery.diff +++ /dev/null @@ -1,119 +0,0 @@ -diff -urN gentoo-bashcomp-20050117.orig/gentoo gentoo-bashcomp-20050117/gentoo ---- gentoo-bashcomp-20050117.orig/gentoo 2005-01-31 03:41:52.876228512 -0500 -+++ gentoo-bashcomp-20050117/gentoo 2005-01-31 04:07:55.467678504 -0500 -@@ -750,7 +750,8 @@ - for i in "${COMP_WORDS[@]}"; do - if [ $j -lt $COMP_CWORD ]; then - j=$((j + 1)) -- case $i in @(belongs|ch@(anges|eck)|dep@(ends|graph)|files|glsa|list|s@(ize|tats)|uses|which|hasuse)) -+ case $i in -+ @(belongs|ch@(anges|eck)|dep@(ends|graph)|files|glsa|list|s@(ize|tats)|uses|which|hasuse|b|c|k|d|g|f|a|h|l|s|t|u|w)) - mode=$i - ;; - esac -@@ -769,11 +770,11 @@ - ;; - esac - ;; -- changes|glsa|stats) -+ c?(hanges)|a|glsa|t|stats) - # These commands have not been implemented in 'equery' yet ... - echo -n "# Not implemented! " - ;; -- files) -+ f?(iles)) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -788,7 +789,7 @@ - esac - fi - ;; -- list) -+ l?(ist)) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -803,7 +804,7 @@ - esac - fi - ;; -- belongs) -+ b?(elongs)) - # Only complete if the previous entry on the command line is not - # a file name. - if \ -@@ -823,8 +824,8 @@ - COMPREPLY=($(compgen -W "-c --category -e --earlyout" -- $cur)) - ;; - *) -- # Complete filenames. Function defined in /etc/bash_completion. -- _filedir -+ COMPREPLY=($(compgen -f -- $cur) \ -+ $(compgen -d -S '/' -- $cur)) - ;; - esac - # Are we completing a category? -@@ -832,7 +833,7 @@ - COMPREPLY=($(cd ${portdir}/metadata/cache; compgen -W "$(compgen -G '*')" -- $cur)) - fi - ;; -- uses|which) -+ @(u?(ses)|w?(hich))) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} ]]; then -@@ -840,7 +841,7 @@ - _pkgname -A $cur - fi - ;; -- depgraph) -+ g|depgraph) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -855,7 +856,7 @@ - esac - fi - ;; -- depends) -+ d?(epends)) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -878,7 +879,7 @@ - esac - fi - ;; -- check) -+ k|check) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} ]]; then -@@ -886,7 +887,7 @@ - _pkgname -I $cur - fi - ;; -- size) -+ s?(ize)) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -901,7 +902,7 @@ - esac - fi - ;; -- hasuse) -+ h?(asuse)) - # Only complete if the previous entry on the command line is not - # a package name. - if [[ ${prev} == ${mode} || ${prev:0:1} == "-" ]]; then -@@ -921,7 +922,7 @@ - esac - return 0 - } --complete -F _equery -o filenames equery -+complete -F _equery equery - } - - # |