mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix completions according to new options (#2043)
This commit is contained in:
parent
757c6525f5
commit
0e3448f96c
@ -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'
|
||||
)
|
||||
|
||||
|
@ -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}) )
|
||||
|
Loading…
Reference in New Issue
Block a user