make xhost.sh into a template
This commit is contained in:
parent
695355f0b0
commit
4a2a90e2ca
2 changed files with 3 additions and 1 deletions
dot_bashrc.d
|
@ -1 +0,0 @@
|
|||
[[ "$(uname -s)" == "Darwin" ]] || xhost +local:root > /dev/null 2>&1 && true
|
3
dot_bashrc.d/xhost.sh.tmpl
Normal file
3
dot_bashrc.d/xhost.sh.tmpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ if (eq .chezmoi.os "linux" ) }}
|
||||
xhost +local:root > /dev/null 2>&1
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue