zsh: rename zsh-functions to zsh-functions.zsh

This commit is contained in:
2026-08-01 01:45:12 -04:00
parent d6c88bd6ac
commit 3ed624436a
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ export ZSHRC_BOOTSTRAP="$ZSH_CONFIG/.bootstrapped"
[[ -d "$HOME/AppImages" ]] && path+=("$HOME/AppImages") [[ -d "$HOME/AppImages" ]] && path+=("$HOME/AppImages")
[[ -d "$HOME/.opencode/bin" ]] && path+=("$HOME/.opencode/bin") [[ -d "$HOME/.opencode/bin" ]] && path+=("$HOME/.opencode/bin")
ZSHRC_FUNCTIONS="$ZSH_CONFIG/zsh-functions" ZSHRC_FUNCTIONS="$ZSH_CONFIG/zsh-functions.zsh"
source "$ZSHRC_FUNCTIONS" source "$ZSHRC_FUNCTIONS"
# Bootstrap: installs missing CLI tools and oh-my-zsh plugins across distros. # 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 # zsh-functions
ftmp=/tmp/.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 && [[ -f "$ftmp" ]] && ! cmp -s "$ftmp" "$ZSHRC_FUNCTIONS" 2>/dev/null; then
echo "Updating zsh-functions..." echo "Updating zsh-functions..."
mv "$ftmp" "$ZSHRC_FUNCTIONS" mv "$ftmp" "$ZSHRC_FUNCTIONS"