Package: runit
Version: 2.1.2-1
Severity: wishlist
Tags: patch
In addition to services running in /etc/service, users may
have their own service directories (e.g., in ~/.service).
The default bash completion made it easy to complete with
"sv t .ser<TAB>foo<TAB>", but the programmable completion
does not include them at all. We can complete any local
directories by using bash-completion's "filedir" helper.
---
debian/contrib/sv-completion.bash | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/contrib/sv-completion.bash
b/debian/contrib/sv-completion.bash
index 87ee3a2..c8da429 100644
--- a/debian/contrib/sv-completion.bash
+++ b/debian/contrib/sv-completion.bash
@@ -23,6 +23,7 @@ _sv()
COMPREPLY=( $( compgen -W "$(_sv_commands)" $cur ) )
elif [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $( compgen -W "$(_sv_services)" $cur ) )
+ _filedir -d
fi
}
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages runit depends on:
ii libc6 2.19-9
Versions of packages runit recommends:
pn fgetty <none>
Versions of packages runit suggests:
pn socklog-run <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]