1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 19:12:11 +01:00
falkonOfficial/linux/completion/qupzilla
2014-01-28 11:29:08 +01:00

23 lines
608 B
Plaintext

#
# Bash completion for QupZilla
#
_qupzilla()
{
local cur prev opts
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="
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
else
_filedir
fi
}
complete -F _qupzilla qupzilla