Update dotfiles/.zshrc, dotfiles/.local/share/bash-completion/generate.sh

This commit is contained in:
Brian Zalewski 2022-10-29 14:40:02 +00:00
parent 71aeaae202
commit 494ccefe1c
2 changed files with 11 additions and 1 deletions

View file

@ -15,6 +15,11 @@ if command -v fd > /dev/null && [ -f /usr/local/src/fd/autocomplete/fd.bash-comp
cp /usr/local/src/fd/autocomplete/fd.bash-completion "$HOME/.local/share/bash-completion/completions/fd.bash"
fi
### fig
if command -v fig > /dev/null; then
fig completion bash > "$HOME/.local/share/bash-completion/completions/fig.bash"
fi
### gh
if command -v gh > /dev/null; then
gh completion -s bash > "$HOME/.local/share/bash-completion/completions/gh.bash"

View file

@ -275,7 +275,7 @@ if command -v antigen > /dev/null; then
antigen bundle dotenv
antigen bundle encode64
antigen bundle fd
antigen bundle fig
# antigen bundle fig
antigen bundle fzf
antigen bundle gcloud
# antigen bundle gh
@ -331,6 +331,11 @@ if command -v deno > /dev/null; then
eval "$(deno completions zsh)"
fi
### Fig
if command -v fig > /dev/null; then
eval "$(fig completion zsh)"
fi
### gh
if command -v gh > /dev/null; then
eval "$(gh completion -s zsh)"