summaryrefslogtreecommitdiff
path: root/data/completions/zeitgeist-daemon
blob: 1983dec01a6ebde081effa40d13965fe37279145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- shell-script -*-
#
# Bash tab auto-completion rules for the zeitgeist-daemon command.
# Put this file in /etc/bash_completion.d/ and bash will automatically load it.
#
# By Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>

_have zeitgeist-daemon &&
_zeitgeist_daemon()
{
	local cur=${COMP_WORDS[COMP_CWORD]}
	COMPREPLY=($(compgen -W "`zeitgeist-daemon --shell-completion`" -- $cur))
} &&
complete -F _zeitgeist_daemon -o default zeitgeist-daemon