Update .chezmoiscripts/10-unlock-bw.sh
This commit is contained in:
parent
a3d7db00cc
commit
eb09b5494b
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
BW_PASSWORD={{ joinPath .chezmoi.sourceDir ".bw-password.asc" | include | decrypt }}
|
||||
BW_SESSION="$(bw unlock "$BW_PASSWORD" --raw)"
|
||||
export BW_PASSWORD
|
||||
|
||||
BW_SESSION="$(bw unlock --password-env BW_PASSWORD --raw)"
|
||||
export BW_SESSION
|
||||
|
|
Loading…
Reference in a new issue