From 1f7eccbaab9acd924dfd282034ba956f1db9b985 Mon Sep 17 00:00:00 2001 From: Steven Hobs <47906512+stevenhobs@users.noreply.github.com> Date: Sat, 5 Jul 2025 13:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lazy.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazy.zsh b/lazy.zsh index d933c35..12e96d5 100644 --- a/lazy.zsh +++ b/lazy.zsh @@ -19,7 +19,7 @@ LAZY_ZSH="$HOME/.lazyzsh" } # Binaries -[[ -d "$LAZY_ZSH/bin" ]] && ! echo ":$PATH:" | grep -q ":lazyzsh:" && { +[[ -d "$LAZY_ZSH/bin" ]] && ! echo ":$PATH:" | grep -q "lazyzsh/bin" && { PATH="$LAZY_ZSH/bin:$PATH" source $LAZY_ZSH/bin/.lazy_bin_init.zsh } @@ -37,7 +37,7 @@ source "$LAZY_ZSH/alias.zsh" # inner custom alias # Proxy Switcher function setproxy() { local host=${1:-127.0.0.1} # 更改IP为您的代理软件监听IP, 默认127.0.0.1 - local port=${2:-7897} # 更改端口为您的代理软件监听端口, 默认7897 + local port=${2:-7890} # 更改端口为您的代理软件监听端口, 默认7890 export http_proxy=http://$host:$port && export https_proxy=$http_proxy export no_proxy=localhost,127.0.0.1,::1,.localdomain echo "- You've set the network proxy! Info: $http_proxy"