Add .config/fish/conf.d/30-bitwarden.fish
This commit is contained in:
parent
9c79a2af5a
commit
33f96493a7
1 changed files with 8 additions and 0 deletions
8
dot_config/fish/conf.d/30-bitwarden.fish
Normal file
8
dot_config/fish/conf.d/30-bitwarden.fish
Normal 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
|
Loading…
Reference in a new issue