diff options
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | bash-completion | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgname=initscripts-git pkgver=$(date +%s) -pkgrel=$(git log --pretty=format:%h |head -n 1) +pkgrel=$(git log -1 --pretty=format:%h) pkgdesc="System initialization/bootup scripts" arch=('i686' 'x86_64') url="http://www.archlinux.org" 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: |