chore: update zshrc and install script with improvements

This commit is contained in:
2025-05-28 21:13:31 +02:00
parent cc839e05c2
commit cd03e5d30b
3 changed files with 17 additions and 9 deletions

5
.zshrc
View File

@ -129,8 +129,9 @@ source $HOME/.zshenv
eval "$(direnv hook zsh)"
# Load Angular CLI autocompletion.
source <(ng completion script)
if [ command -v ng >/dev/null ]; then
# Load Angular CLI autocompletion if ng command is available.
source <(ng completion script)
# bun completions
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"