runit: add SVDIR support to bash completion

This commit is contained in:
Luca Matei Pintilie 2024-12-25 23:59:24 +01:00 committed by Duncan Overbruck
parent c6521b39ef
commit 24970baebc
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ _sv()
return
;;
*)
COMPREPLY=( /var/service/* )
COMPREPLY=( "${SVDIR%/:-/var/service}/"* )
COMPREPLY=( ${COMPREPLY[@]##*/} )
COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- ${cur}) )
return

View file

@ -1,7 +1,7 @@
# Template file for 'runit'
pkgname=runit
version=2.2.0
revision=1
revision=2
build_style="gnu-makefile"
short_desc="UNIX init scheme with service supervision"
maintainer="Orphaned <orphan@voidlinux.org>"