diff --git a/dot_bashrc.d/xhost.sh b/dot_bashrc.d/xhost.sh deleted file mode 100644 index ea317c5..0000000 --- a/dot_bashrc.d/xhost.sh +++ /dev/null @@ -1 +0,0 @@ -[[ "$(uname -s)" == "Darwin" ]] || xhost +local:root > /dev/null 2>&1 && true diff --git a/dot_bashrc.d/xhost.sh.tmpl b/dot_bashrc.d/xhost.sh.tmpl new file mode 100644 index 0000000..0b795ea --- /dev/null +++ b/dot_bashrc.d/xhost.sh.tmpl @@ -0,0 +1,3 @@ +{{ if (eq .chezmoi.os "linux" ) }} +xhost +local:root > /dev/null 2>&1 +{{ end }}