mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 07:14:47 -06:00
HASS-CLI completion sourcing
This commit is contained in:
@@ -60,6 +60,16 @@ if [ -d $HOME/.jenv/bin ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
export HASS_SERVER={{ (index (rbw "HAS-CLI-CODE Token").data.uris 0).uri }}
|
||||
export HASS_TOKEN={{ (rbw "HAS-CLI-CODE Token").data.password }}
|
||||
{{ if eq .shell "bash" -}}
|
||||
source <(_HASS_CLI_COMPLETE=bash_source hass-cli)
|
||||
{{ else if eq .shell "zsh" -}}
|
||||
source <(_HASS_CLI_COMPLETE=zsh_source hass-cli)
|
||||
{{ else if eq .shell "fish" -}}
|
||||
eval (_HASS_CLI_COMPLETE=fish_source hass-cli)
|
||||
{{ end }}
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
|
||||
Reference in New Issue
Block a user