twpayne / chezmoi

Manage your dotfiles across multiple diverse machines, securely.
https://www.chezmoi.io/
MIT License
12.9k stars 478 forks source link

Password Magager WSL Support #3090

Closed HuaDeity closed 1 year ago

HuaDeity commented 1 year ago

When I use chezmoi in WSL, I cannot use my 1password template. I find a workaround is using Windows CLI, but Windows CLI's name is op.exe, chezmoi cannot use it, it only uses op.

Can you add support to op.exe?

twpayne commented 1 year ago

Set the onePassword.command configuration variable to op.exe in your configuration file.

HuaDeity commented 1 year ago

It resolves my problem, thanks for your reply and excellence job.