[ZSH] Deduplicate server PATH

Port the platform-neutral PATH cleanup from 7ccb268 without bringing macOS-only Go, Run:AI, LM Studio, or Homebrew configuration onto the server branch.
This commit is contained in:
Fabian Ising
2026-07-27 10:50:04 +02:00
parent 01222ba1da
commit 30d1e8c364
+4
View File
@@ -227,3 +227,7 @@ export TIME_STYLE="long-iso"
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh [[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config [[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
[[ -f ~/.zsh/.os_config.zsh ]] && source ~/.zsh/.os_config.zsh [[ -f ~/.zsh/.os_config.zsh ]] && source ~/.zsh/.os_config.zsh
# Remove duplicate entries added by inherited and machine-specific PATH config
# while preserving the first occurrence and therefore command precedence.
typeset -U path PATH