Mercurial > hg > release > icedtea-web-1.7
changeset 1213:dd4f7ccae35e
Add Tab Completion for icedtea-web
2015-04-20 Lukasz Dracz <ldracz@redhat.com>
Add Tab Completion for icedtea-web
* Makefile.am:
Added to tarball generated
* icedteaweb-completion:
Added bash completion file
author | Lukasz Dracz <ldracz@redhat.com> |
---|---|
date | Mon, 20 Apr 2015 14:13:08 -0400 |
parents | 36658487ef8e |
children | b3c2e66b813a |
files | ChangeLog Makefile.am icedteaweb-completion |
diffstat | 3 files changed, 53 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Apr 20 10:19:54 2015 -0400 +++ b/ChangeLog Mon Apr 20 14:13:08 2015 -0400 @@ -1,3 +1,11 @@ +2015-04-20 Lukasz Dracz <ldracz@redhat.com> + + Add Tab Completion for icedtea-web + * Makefile.am: + Added to tarball generated + * icedteaweb-completion: + Added bash completion file + 2015-04-20 Lukasz Dracz <ldracz@redhat.com> add Boolean Cast for JarCertVerifier
--- a/Makefile.am Mon Apr 20 10:19:54 2015 -0400 +++ b/Makefile.am Mon Apr 20 14:13:08 2015 -0400 @@ -219,7 +219,7 @@ export PLUGIN_VERSION = IcedTea-Web $(FULL_VERSION) -export EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in policyeditor.desktop.in \ +export EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in policyeditor.desktop.in icedteaweb-completion \ itweb-settings.desktop.in launcher $(top_srcdir)/tests html-gen.sh NEW_LINE_IFS # reproducers `D`shortcuts
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icedteaweb-completion Mon Apr 20 14:13:08 2015 -0400 @@ -0,0 +1,44 @@ +#/bin/bash +#place this file over to /etc/bash_completion.d/ to make this file useful +#Note: If you do not have bash-completion you will need to install it +_itweb-settings() +{ + local cur prev opts base + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + # Icedtea-web settings Options + opts="-check -get -headless -help -info -list -reset -set -verbose" + + COMPREPLY=($(compgen -W "${opts}" -- ${cur})) + return 0 +} +complete -F _itweb-settings itweb-settings + +_policyeditor() +{ + local cur prev opts base + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + # PolicyEditor Options + opts="-codebase -file -help" + + COMPREPLY=($(compgen -W "${opts}" -- ${cur})) + return 0 +} +complete -F _policyeditor policyeditor + +_javaws() +{ + local cur prev opts base + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + # JavaWs Options + opts="-about -help -license -viewer -Xclearcache -allowredirect -arg -headless -html -jnlp -nosecurity -noupdate -param -property -strict -update -verbose -version -Xignoreheaders -xml -Xnofork -Xoffline -Xtrustnone" + + COMPREPLY=($(compgen -W "${opts}" -- ${cur})) + return 0 +} +complete -F _javaws javaws