1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Updated bash/zsh completions

This commit is contained in:
nowrep 2014-01-28 11:29:08 +01:00
parent 0d2db81ffa
commit 8c40683396
2 changed files with 6 additions and 3 deletions

View File

@ -9,12 +9,14 @@ opts=(
'(-)'{-p=,--profile=}'[start with specified profile]'
'(-)'{-ne,--no-extensions}'[start without extensions]'
'(-)'{-po,--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]'
'(-)'{-nr,--no-remote}'[open new instance]'
'(-)'{-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]'
'*:files:_files'

View File

@ -8,8 +8,9 @@ _qupzilla()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-h --help -a --authors -v --version -p= --profile=
-ne --no-extensions -nt --new-tab -pb --private-browsing
-dm --download-manager -nr --no-remote -ct= --current-tab=
-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="
if [[ ${cur} == -* ]] ; then