1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00
falkonOfficial/linux/completion/falkon

23 lines
587 B
Plaintext
Raw Normal View History

#
2017-08-25 17:11:29 +02:00
# Bash completion for Falkon
#
2017-08-25 17:11:29 +02:00
_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="
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
else
_filedir
fi
}
2017-08-25 17:11:29 +02:00
complete -F _falkon falkon