Adding a chezmoi-autopush
bash script gives an error: cannot add chezmoi file to chezmoi
#3930
Unanswered
gerardnico
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Why not use chezmoi's existing autopush support? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hallo,
I have written a little bash script named
chezmoi-autopush
to add, commit and push the git repository of chezmoi in the~/bin
directory.The content is:
But I got an error when I try to add it:
chezmoi add "~/bin/chezmoi-autopush"
The error comes from this condition
Can I solve this error without rewriting the name of the bash script?
How can I make this path unprotected?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions