From e34c86f111f2ce934c13639521a5845efbdb7a3c Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 5 Feb 2023 16:37:10 +0100 Subject: [PATCH] Add runit_add --- zsh/.config/zsh/functions.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index b34010a..200f89b 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -42,6 +42,10 @@ open() { fi } +runit_add() { + sudo ln -s "/etc/runit/sv/$1" /run/runit/service +} + wg() { (( ${+commands[wg]} )) && (( ${+commands[wg-quick]} )) || return 2