diff --git a/.zshrc b/.zshrc index 9a2db755..99b5e98d 100644 --- a/.zshrc +++ b/.zshrc @@ -57,5 +57,5 @@ command -v direnv > /dev/null 2>&1 && eval "$(direnv hook zsh)" command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)" autoload -U compinit; compinit -source <(glab completion -s zsh); compdef _glab glab -source <(gh completion -s zsh); compdef _gh gh +command -v glab > /dev/null && source <(glab completion -s zsh); compdef _glab glab +command -v gh > /dev/null && source <(gh completion -s zsh); compdef _gh gh