-
Hi all! I've been wondering whether I could leverage chezmoi hook system to unlock my bitwarden password manager before It seems that chezmoi runs the hook commands in the subshell (which makes sense), but that makes it impossible to just export a variable inside the hook and affect the Also, it seems that the I can of course write a wrapper script that will take care of all this, but I thought that using chezmoi hook system might be cleaner and more portable way. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
No, this is not possible on UNIX systems. See the discussion in #3729. |
Beta Was this translation helpful? Give feedback.
-
@twpayne We have received a half-dozen of these questions in the last 3–4 months. I wonder if it might not be worth calling something out either in the README and/or FAQ in chezmoi documentation. I’m definitely not able to tackle this right now, but I know that the various threads have exhaustive answers (including the strong suggestion that people consider |
Beta Was this translation helpful? Give feedback.
No, this is not possible on UNIX systems. See the discussion in #3729.