blob: 372b76b6f65aab485d1a1f4785a18b2e731fb3c8 (
plain)
1
2
3
4
5
6
7
8
|
_etckeeper() {
local cur;
COMPREPLY=();
cur=${COMP_WORDS[COMP_CWORD]};
COMPREPLY=( $( compgen -W '$(cd /etc/etckeeper/; for i in *.d/; do echo ${i%.d/}; done)' -- $cur ) );
}
complete -F _etckeeper etckeeper
|