4 次代码提交 89ec4f76a1 ... a68bb3878c

作者 SHA1 备注 提交日期
  raylu a68bb3878c valdera specifics 4 月之前
  raylu 416d8df93b macos tweaks 3 年之前
  raylu 89ec4f76a1 valdera specifics 4 月之前
  raylu 3edb6ff379 macos tweaks 3 年之前
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      zshrc

+ 6 - 1
zshrc

@@ -121,10 +121,15 @@ if [ -d /opt/homebrew/sbin ]; then
 	PATH=/opt/homebrew/sbin:$PATH
 fi
 if [ -d /opt/homebrew/bin ]; then
+	if [ ! -f /etc/paths.d/homebrew ]; then
+		PATH=/opt/homebrew/bin:$PATH
+	fi
+	if [ -d /opt/homebrew/opt/uutils-coreutils/libexec/uubin ]; then
+		PATH=/opt/homebrew/opt/uutils-coreutils/libexec/uubin:$PATH
+	fi
 	if [ -d /opt/homebrew/opt/libpq/bin ]; then
 		PATH=/opt/homebrew/opt/libpq/bin:$PATH
 	fi
-	PATH=/opt/homebrew/bin:$PATH
 fi
 
 if [ -d $HOME/.cargo/bin ]; then