Add .config/fish/conf.d/30-bitwarden.fish

This commit is contained in:
punkfairie 2024-04-17 20:28:46 -07:00
parent 9c79a2af5a
commit 33f96493a7
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -0,0 +1,8 @@
#!/usr/bin/env fish
set -gx BW_CLIENTID czvWnI1nGIyNm7G6VjLkcl3Ct9ukQb
set -gx BW_CLIENTSECRET user.d18b72ce-c550-4ac7-9df0-b0f60049ab30
if status is-interactive
set -gx BW_SESSION (bw login --apikey &>/dev/null && bw unlock --raw)
end