diff --git a/zsh.d/50_bitwarden.zsh b/zsh.d/50_bitwarden.zsh new file mode 100644 index 0000000..96841cf --- /dev/null +++ b/zsh.d/50_bitwarden.zsh @@ -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 diff --git a/zsh.d/50_kubernetes.zsh b/zsh.d/50_kubernetes.zsh index 7fb05fd..442b884 100644 --- a/zsh.d/50_kubernetes.zsh +++ b/zsh.d/50_kubernetes.zsh @@ -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 - diff --git a/zsh.d/50_spaceship.zsh b/zsh.d/50_spaceship.zsh index 77f3f8f..fd94fd5 100644 --- a/zsh.d/50_spaceship.zsh +++ b/zsh.d/50_spaceship.zsh @@ -32,5 +32,3 @@ SPACESHIP_PROMPT_ORDER=( # maven excluded SPACESHIP_PACKAGE_ORDER=(npm lerna cargo composer julia gradle python dart) - - diff --git a/zshrc b/zshrc index b745653..f6e618f 100644 --- a/zshrc +++ b/zshrc @@ -271,5 +271,5 @@ if ! zplug check --verbose; then zplug install fi fi -zplug load +zplug load