File: zeitgeist-daemon

package info (click to toggle)
zeitgeist 0.9.16-0.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,936 kB
  • ctags: 4,319
  • sloc: ansic: 17,171; xml: 11,544; sh: 11,530; python: 8,195; cpp: 3,010; sql: 1,192; makefile: 975
file content (14 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (5)
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