summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Clabaut <mathieu.clabaut@gmail.com>2007-12-21 15:47:30 -0600
committerJoey Hess <joey@kodama.kitenet.net>2008-01-03 19:53:46 -0500
commit3fec1173b92e548968d6647b65ff5ec82d205518 (patch)
tree407e96573916d028ab4b8c3ee7b1d155a89494ae
parentf8a08579d9ff274a17da0bbb29f8575d10425585 (diff)
Adapt bash_completio to the new subdir structure
-rw-r--r--bash_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index 372b76b..8d5632e 100644
--- a/bash_completion
+++ b/bash_completion
@@ -2,7 +2,7 @@ _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 ) );
+ COMPREPLY=( $( compgen -W '$(cd /etc/etckeeper/git/; for i in *.d/; do echo ${i%.d/}; done)' -- $cur ) );
}
-complete -F _etckeeper etckeeper \ No newline at end of file
+complete -F _etckeeper etckeeper