Check for glab/gh before sourcing completions
This commit is contained in:
parent
5d0940d0c2
commit
add9bdc2d1
4
.bashrc
4
.bashrc
|
@ -53,5 +53,5 @@ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
command -v direnv > /dev/null 2>&1 && eval "$(direnv hook bash)"
|
command -v direnv > /dev/null 2>&1 && eval "$(direnv hook bash)"
|
||||||
command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"
|
command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"
|
||||||
|
|
||||||
source <(glab completion -s bash)
|
command -v glab > /dev/null && source <(glab completion -s bash)
|
||||||
source <(gh completion -s bash)
|
command -v gh > /dev/null && source <(gh completion -s bash)
|
||||||
|
|
Loading…
Reference in a new issue