Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318124 Details for
Bug 426570
app-shells/gentoo-bashcomp extended by a completion for eshowkw
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for gentoo-bashcomp implementing eshowkw completion
0001-Added-a-completion-function-for-eshowkw.patch (text/plain), 1.42 KB, created by
Mira Ressel
on 2012-07-14 11:26:23 UTC
(
hide
)
Description:
Proposed patch for gentoo-bashcomp implementing eshowkw completion
Filename:
MIME Type:
Creator:
Mira Ressel
Created:
2012-07-14 11:26:23 UTC
Size:
1.42 KB
patch
obsolete
>From 180dbae4bff63a04c4a82d048d56fa12fdbad11f Mon Sep 17 00:00:00 2001 >From: atlaua <luchsmail-gh@yahoo.com> >Date: Sat, 14 Jul 2012 13:16:59 +0200 >Subject: [PATCH] Added a completion function for eshowkw > >--- > gentoo | 35 +++++++++++++++++++++++++++++++++++ > 1 files changed, 35 insertions(+), 0 deletions(-) > >diff --git a/gentoo b/gentoo >index edf90f0..f4b2199 100644 >--- a/gentoo >+++ b/gentoo >@@ -1437,6 +1437,41 @@ complete -o filenames -F _ekeyword ekeyword > } > > # >+# eshowkw completion >+# >+ >+have eshowkw && { >+_eshowkw() >+{ >+ local cur prev >+ cur="${COMP_WORDS[COMP_CWORD]}" >+ prev="${COMP_WORDS[COMP_CWORD-1]}" >+ >+ case $prev in >+ -a|--arch) >+ COMPREPLY=($(compgen -W "$(grep -v \# < ${portdir}/profiles/arch.list)" -- $cur)) >+ ;; >+ -A|--align) >+ COMPREPLY=($(compgen -W "top bottom" -- $cur)) >+ ;; >+ -T|--top-position) >+ COMPREPLY=($(compgen -W "archlist versionlist" -- $cur)) >+ ;; >+ *) >+ case $cur in >+ -*) >+ COMPREPLY=($(compgen -W "--help -h --version -v --arch -a --align -A --top-position -T --bold -B --color -C --overlays -O --prefix -P --ignore-slot -S" -- $cur)) >+ ;; >+ *) >+ _pkgname -A $cur >+ ;; >+ esac >+ esac >+} >+complete -F _eshowkw eshowkw >+} >+ >+# > # portageq completion > # > >-- >1.7.8.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 426570
: 318124