1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-22 19:56:34 +01:00
falkonOfficial/linux/completion/falkon
Christoph Cullmann 5bb7e9cfcf Add --wmclass argument to linux completion files
Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: cullmann, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D18667
2019-02-02 16:24:27 +01:00

23 lines
597 B
Plaintext

#
# Bash completion for Falkon
#
_falkon()
{
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=
-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= --wmclass"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
else
_filedir
fi
}
complete -F _falkon falkon