diff options
author | derhoch <derhoch@googlemail.com> | 2011-07-07 03:13:28 -0700 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-07-07 12:40:13 +0200 |
commit | 356eb55dc1594ce0ce2714b3debfeaaca9926c0d (patch) | |
tree | d975942ad72f6d7ca122f139149a56bfad956aea | |
parent | 9abda43474520dbc98674fed13bb647322e3c30f (diff) | |
download | initscripts-356eb55dc1594ce0ce2714b3debfeaaca9926c0d.tar.xz |
changing _rd.d to _rc_d to avoid:
/etc/bash_completion.d/rc.d: line 19: `_rc.d': not a valid identifier
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
-rw-r--r-- | bash-completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash-completion b/bash-completion index e63e880..d78484e 100644 --- a/bash-completion +++ b/bash-completion @@ -1,6 +1,6 @@ # rc.d bash completion by Seblu <seblu@seblu.net> -_rc.d () +_rc_d() { local action cur prev action="help list start stop reload restart" @@ -19,6 +19,6 @@ _rc.d () COMPREPLY=($(cd /etc/rc.d && compgen -f -X 'functions*' "$cur"|sort)) fi } -complete -F _rc.d rc.d +complete -F _rc_d rc.d # vim: set ts=2 sw=2 ft=sh noet: |