zshrc/zsh.d/50_bitwarden.zsh
2025-03-22 18:17:22 +01:00

10 lines
158 B
Bash

# vim: ft=zsh
if command-exists "bw"; then
function bwsesion {
export BW_SESSION="$(bw unlock --raw)"
bw unlock --check
bw sync
}
fi