From 24970baebc24ad1f889871a43e0b1cb497b75b25 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 25 Dec 2024 23:59:24 +0100 Subject: [PATCH] runit: add SVDIR support to bash completion --- srcpkgs/runit/files/sv | 2 +- srcpkgs/runit/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/runit/files/sv b/srcpkgs/runit/files/sv index ec0fcae8c32..7704cf30513 100644 --- a/srcpkgs/runit/files/sv +++ b/srcpkgs/runit/files/sv @@ -16,7 +16,7 @@ _sv() return ;; *) - COMPREPLY=( /var/service/* ) + COMPREPLY=( "${SVDIR%/:-/var/service}/"* ) COMPREPLY=( ${COMPREPLY[@]##*/} ) COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- ${cur}) ) return diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 4dea2ce2b11..21665440055 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -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 "