make xhost.sh into a template

main
Andrew Coleman 2021-04-13 14:49:35 -04:00
parent 695355f0b0
commit 4a2a90e2ca
2 changed files with 3 additions and 1 deletions

View File

@ -1 +0,0 @@
[[ "$(uname -s)" == "Darwin" ]] || xhost +local:root > /dev/null 2>&1 && true

View File

@ -0,0 +1,3 @@
{{ if (eq .chezmoi.os "linux" ) }}
xhost +local:root > /dev/null 2>&1
{{ end }}