git.samba.org
/
jelmer
/
etckeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a0857
)
Adapt bash_completio to the new subdir structure
author
Mathieu Clabaut
<mathieu.clabaut@gmail.com>
Fri, 21 Dec 2007 21:47:30 +0000
(15:47 -0600)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 4 Jan 2008 00:53:46 +0000
(19:53 -0500)
bash_completion
patch
|
blob
|
history
diff --git
a/bash_completion
b/bash_completion
index 372b76b6f65aab485d1a1f4785a18b2e731fb3c8..8d5632e963bbd27ca9b39c4319c59460afa20ad8 100644
(file)
--- 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