bwl (230B)
1 #!/bin/sh 2 command -v bw 1>/dev/null 2>&1 || { printf "Bitwarden CLI not installed.\n" && exit 1; } 3 [ -n "$BW_SESHFILE" ] || { printf "Set BW_SESHFILE in your env.\n" && exit 1; } 4 [ -f "$BW_SESHFILE" ] && rm "$BW_SESHFILE" 5 bw lock