1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00
falkonOfficial/linux/completion/bash_completion.sh
nowrep b9858f98a4 Added basic bash and zsh autocompletion files.
Bash autocompletion will be installed by default with
make install.
Zsh autocompletion has to be installed manually, more on that
in linux/completion/README
2013-03-04 13:23:04 +01:00

18 lines
505 B
Bash

_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 -nt --new-tab -pb --private-browsing
-dm --download-manager -nr --no-remote -ct= --current-tab=
-ow= --open-window="
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
}
complete -F _qupzilla qupzilla