-
I have a run_once_before that installs bitwarden-cli to $HOME/.local/bin fine and unlocks it but chezmoi doesn't recognize it and says bw not in path. i have tried exporting the path inside the run_once script but it seems as immediately the script is done then the export is removed. is there a way i can tell chezmoi to use a given path if bw is not found in /usr/bin ? |
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
Aug 7, 2025
Replies: 1 comment 3 replies
-
The problem is that if ~/.local/bin isn't in $PATH, it won't find it. Scrips run isolated from one another and the parent chezmoi process. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also set the
bitwarden.command
configuration variable to the path tobw
, for example:This will skip the use of
$PATH
entirely.