You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
549 B
21 lines
549 B
# |
|
# 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 -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}) ) |
|
else |
|
_filedir |
|
fi |
|
} |
|
complete -F _qupzilla qupzilla
|
|
|