diff options
Diffstat (limited to 'home/dot_local/share')
| -rw-r--r-- | home/dot_local/share/bin/executable_fork | 2 | ||||
| -rw-r--r-- | home/dot_local/share/bin/executable_fork.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/dot_local/share/bin/executable_fork b/home/dot_local/share/bin/executable_fork deleted file mode 100644 index 1b1d56d..0000000 --- a/home/dot_local/share/bin/executable_fork +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -(setsid "$@" > /dev/null 2> /dev/null &) diff --git a/home/dot_local/share/bin/executable_fork.tmpl b/home/dot_local/share/bin/executable_fork.tmpl new file mode 100644 index 0000000..419b1d3 --- /dev/null +++ b/home/dot_local/share/bin/executable_fork.tmpl @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +({{- if eq .chezmoi.os "linux" }}setsid{{- else -}}nohup{{- end }} "$@" > /dev/null 2> /dev/null &) |