File: zeitgeist-daemon

package info (click to toggle)
zeitgeist 0.9.14-2.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,500 kB
  • ctags: 4,031
  • sloc: ansic: 16,835; sh: 11,484; xml: 8,822; python: 8,196; cpp: 2,970; sql: 1,192; makefile: 941
file content (14 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (4)
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