Skip to content

Commit b433522

Browse files
committed
Merge branch 'master' of github.com-personal:TheShiftedBit/shell
2 parents d3fb380 + 2ee4455 commit b433522

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zshrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ export NVM_DIR="$HOME/.nvm"
118118
export T="$HOME/teclada/"
119119

120120
# Load Angular CLI autocompletion.
121-
source <(ng completion script)
121+
if command -v ng &> /dev/null; then
122+
source <(ng completion script)
123+
fi
122124

123125
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
124126
[[ ! -f ~/p10k.zsh ]] || source ~/p10k.zsh

0 commit comments

Comments
 (0)