Skip to content

how to check for headless server (check for $DISPLAY) #4198

Closed Answered by bradenhilton
j-lakeman asked this question in Q&A
Discussion options

You must be logged in to vote

You also need to quote the template:

chezmoi execute-template '{{ env "HOME" }}'

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@bradenhilton
Comment options

@j-lakeman
Comment options

@bradenhilton
Comment options

Answer selected by j-lakeman
@j-lakeman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants