From 0e3448f96c2dfba8bcd2399266d5866ab74bd523 Mon Sep 17 00:00:00 2001 From: cranes-bill Date: Sun, 31 Jul 2016 15:35:02 +0300 Subject: [PATCH] Fix completions according to new options (#2043) --- linux/completion/_qupzilla | 22 +++++++++++----------- linux/completion/qupzilla | 10 +++++----- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/linux/completion/_qupzilla b/linux/completion/_qupzilla index 3e1406795..e1d023b71 100644 --- a/linux/completion/_qupzilla +++ b/linux/completion/_qupzilla @@ -7,18 +7,18 @@ opts=( '(-)'{-a,--authors}'[print QupZilla authors]' '(-)'{-v,--version}'[print QupZilla version]' - '(-)'{-p=,--profile=}'[start with specified profile]' - '(-)'{-ne,--no-extensions}'[start without extensions]' - '(-)'{-po,--portable}'[start in portable mode]' + '(-)'{-p,--profile=}'[start with specified profile]' + '(-)'{-e,--no-extensions}'[start without extensions]' + '(-)'{-o,--portable}'[start in portable mode]' - '(-)'{-nt,--new-tab}'[open new tab]' - '(-)'{-nw,--new-window}'[open new window]' - '(-)'{-pb,--private-browsing}'[start private browsing]' - '(-)'{-dm,--download-manager}'[show download manager]' - '(-)'{-fs,--fullscreen}'[toggle fullscreen]' - '(-)'{-nr,--no-remote}'[open new browser instance]' - '(-)'{-ct=,--current-tab=}'[open URL in current tab]' - '(-)'{-ow=,--open-window=}'[open URL in new window]' + '(-)'{-t,--new-tab}'[open new tab]' + '(-)'{-w,--new-window}'[open new window]' + '(-)'{-i,--private-browsing}'[start private browsing]' + '(-)'{-d,--download-manager}'[show download manager]' + '(-)'{-f,--fullscreen}'[toggle fullscreen]' + '(-)'{-r,--no-remote}'[open new browser instance]' + '(-)'{-c,--current-tab=}'[open URL in current tab]' + '(-)'{-u,--open-window=}'[open URL in new window]' '*:files:_files' ) diff --git a/linux/completion/qupzilla b/linux/completion/qupzilla index 61410b0ba..2d2f95775 100644 --- a/linux/completion/qupzilla +++ b/linux/completion/qupzilla @@ -7,11 +7,11 @@ _qupzilla() COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-h --help -a --authors -v --version -p= --profile= - -ne --no-extensions -po --portable -nt --new-tab - -nw --new-window -pb --private-browsing -dm --download-manager - -fs --fullscreen -nr --no-remote -ct= --current-tab= - -ow= --open-window=" + opts="-h --help -a --authors -v --version -p --profile= + -e --no-extensions -o --portable -t --new-tab + -w --new-window -i --private-browsing -d --download-manager + -f --fullscreen -r --no-remote -c --current-tab= + -u --open-window=" if [[ ${cur} == -* ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )