diff --git a/zsh/zshrc b/zsh/zshrc index 99c1c50..35b8451 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -35,7 +35,7 @@ alias open-ports="ss -tulpn | grep LISTEN" alias yeet='yay -Rcs' # Auto-update on interactive shell start. Disable with ZSHRC_UPDATE_DISABLED=true. -[[ -o interactive && "$ZSHRC_UPDATE_DISABLED" != "true" ]] && update_zshrc +[[ -o interactive && "$ZSHRC_UPDATE_DISABLED" != "true" ]] && (( $+functions[update_zshrc] )) && update_zshrc [[ -f $HOME/.zshrc.local ]] || touch $HOME/.zshrc.local source $HOME/.zshrc.local