Skip to content
Discussion options

You must be logged in to vote

@mkanet that is the full path, $HOME is always replaced with ~ for .Path. If you want the actual non-replaced path, use .Location instead:

{{ path .Location .Location }}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mkanet
Comment options

Answer selected by mkanet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants