From 50025af97f8420838fdfa65689504ef998edf1ee Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 22 Jun 2024 20:27:31 +0100 Subject: [PATCH] Add basic run0 command --- roles/home-cli/files/profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index aceee0f..9b09023 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -256,6 +256,11 @@ alias wgr=wordgrinder alias ytmp3="youtube-dl -q -x --audio-format=mp3" alias zlu="zypper list-updates" +if ! command -v run0 > /dev/null +then + alias run0="systemd-run --service-type=exec --quiet --wait --expand-environment=false --pty --send-sighup" +fi + # Language aliases. ## Fedora/RHEL/CentOS: dnf install glibc-langpack-{en,fr} alias C="LANG=C.UTF-8"