Skip to content
Discussion options

You must be logged in to vote

You should be able to use

{{ if stat ".bashrc" }}

as templates are always executed with your home directory as the working directory, so the call to joinPath isn't strictly needed (but certainly helps portability when testing).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@j-lakeman
Comment options

@twpayne
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