-
I would like to use
However it seems,
It works if I do this
Am I doing something wrong or is that a bug? |
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
Aug 18, 2022
Replies: 1 comment
-
The The portable workaround is to use
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
papanito
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
~
character is a valid character in filenames. Many shells, however, do tilde expansion and interpret it as a shortcut for$HOME
when interpreting the arguments to a command. Tilde expansion is the responsibility of the shell, not chezmoi. For more information, see #952.The portable workaround is to use
.chezmoi.homeDir
, for example: