how to check for headless server (check for $DISPLAY
)
#4198
-
I'd like to ignore certain files and folders in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Can you provide an example of what you tried? |
Beta Was this translation helpful? Give feedback.
-
Within chezmoi execute-template {{ env DISPLAY }}
chezmoi: template: arg1:1: function "DISPLAY" not defined |
Beta Was this translation helpful? Give feedback.
You also need to quote the template:
chezmoi execute-template '{{ env "HOME" }}'