diff --git a/zsh/zsh-functions b/zsh/zsh-functions.zsh similarity index 100% rename from zsh/zsh-functions rename to zsh/zsh-functions.zsh diff --git a/zsh/zshrc b/zsh/zshrc index faccf9f..d3076c0 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -15,7 +15,7 @@ export ZSHRC_BOOTSTRAP="$ZSH_CONFIG/.bootstrapped" [[ -d "$HOME/AppImages" ]] && path+=("$HOME/AppImages") [[ -d "$HOME/.opencode/bin" ]] && path+=("$HOME/.opencode/bin") -ZSHRC_FUNCTIONS="$ZSH_CONFIG/zsh-functions" +ZSHRC_FUNCTIONS="$ZSH_CONFIG/zsh-functions.zsh" source "$ZSHRC_FUNCTIONS" # Bootstrap: installs missing CLI tools and oh-my-zsh plugins across distros. @@ -151,7 +151,7 @@ if [[ -o interactive && "$ZSHRC_UPDATE_DISABLED" != "true" ]]; then # zsh-functions ftmp=/tmp/.zsh-functions.$$ - if curl -fsSL --connect-timeout 3 --max-time 8 "$ZSHRC_GIT/zsh-functions" -o "$ftmp" 2>/dev/null \ + if curl -fsSL --connect-timeout 3 --max-time 8 "$ZSHRC_GIT/zsh-functions.zsh" -o "$ftmp" 2>/dev/null \ && [[ -f "$ftmp" ]] && ! cmp -s "$ftmp" "$ZSHRC_FUNCTIONS" 2>/dev/null; then echo "Updating zsh-functions..." mv "$ftmp" "$ZSHRC_FUNCTIONS"