dotfiles/.chezmoiscripts/run_before_10-unlock-bw.sh.tmpl

6 lines
169 B
Cheetah
Raw Normal View History

#!/usr/bin/env sh
BW_PASSWORD={{ joinPath .chezmoi.sourceDir ".bw-password.asc" | include | decrypt }}
BW_SESSION="$(bw unlock "$BW_PASSWORD" --raw)"
export BW_SESSION