add bwsesion function
This commit is contained in:
parent
5e3c18c6a0
commit
be0536de0b
9
zsh.d/50_bitwarden.zsh
Normal file
9
zsh.d/50_bitwarden.zsh
Normal file
@ -0,0 +1,9 @@
|
||||
# vim: ft=zsh
|
||||
|
||||
if command-exists "bw"; then
|
||||
function bwsesion {
|
||||
export BW_SESSION="$(bw unlock --raw)"
|
||||
bw unlock --check
|
||||
bw sync
|
||||
}
|
||||
fi
|
||||
@ -1,3 +1,4 @@
|
||||
# vim: ft=zsh
|
||||
|
||||
if command-exists "kubectl"; then
|
||||
source <(kubectl completion zsh)
|
||||
@ -10,4 +11,3 @@ fi
|
||||
if command-exists "minikube"; then
|
||||
source <(minikube completion zsh)
|
||||
fi
|
||||
|
||||
|
||||
@ -32,5 +32,3 @@ SPACESHIP_PROMPT_ORDER=(
|
||||
|
||||
# maven excluded
|
||||
SPACESHIP_PACKAGE_ORDER=(npm lerna cargo composer julia gradle python dart)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user