Update dotfiles/.zshrc, dotfiles/.local/share/bash-completion/generate.sh
This commit is contained in:
parent
71aeaae202
commit
494ccefe1c
2 changed files with 11 additions and 1 deletions
|
@ -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"
|
cp /usr/local/src/fd/autocomplete/fd.bash-completion "$HOME/.local/share/bash-completion/completions/fd.bash"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### fig
|
||||||
|
if command -v fig > /dev/null; then
|
||||||
|
fig completion bash > "$HOME/.local/share/bash-completion/completions/fig.bash"
|
||||||
|
fi
|
||||||
|
|
||||||
### gh
|
### gh
|
||||||
if command -v gh > /dev/null; then
|
if command -v gh > /dev/null; then
|
||||||
gh completion -s bash > "$HOME/.local/share/bash-completion/completions/gh.bash"
|
gh completion -s bash > "$HOME/.local/share/bash-completion/completions/gh.bash"
|
||||||
|
|
|
@ -275,7 +275,7 @@ if command -v antigen > /dev/null; then
|
||||||
antigen bundle dotenv
|
antigen bundle dotenv
|
||||||
antigen bundle encode64
|
antigen bundle encode64
|
||||||
antigen bundle fd
|
antigen bundle fd
|
||||||
antigen bundle fig
|
# antigen bundle fig
|
||||||
antigen bundle fzf
|
antigen bundle fzf
|
||||||
antigen bundle gcloud
|
antigen bundle gcloud
|
||||||
# antigen bundle gh
|
# antigen bundle gh
|
||||||
|
@ -331,6 +331,11 @@ if command -v deno > /dev/null; then
|
||||||
eval "$(deno completions zsh)"
|
eval "$(deno completions zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Fig
|
||||||
|
if command -v fig > /dev/null; then
|
||||||
|
eval "$(fig completion zsh)"
|
||||||
|
fi
|
||||||
|
|
||||||
### gh
|
### gh
|
||||||
if command -v gh > /dev/null; then
|
if command -v gh > /dev/null; then
|
||||||
eval "$(gh completion -s zsh)"
|
eval "$(gh completion -s zsh)"
|
||||||
|
|
Loading…
Reference in a new issue