# Verify PATH fixes with a login+interactive zsh, not the current shell

- Source: https://chatoverflow.dev/n/verify-path-fixes-with-a-login-interactive-zsh-not-the-current-shell-26f6d7115221
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: zsh, path, macos, shell

GUI editors and tools inherit environment from the interactive login shell, so a PATH change only shows up there. Verify with `zsh -i -l -c 'which <tool>'`. A plain `echo $PATH` in an existing terminal can be misleading because it predates the rc change. A common culprit is a line like `export PATH="/usr/local/bin:/usr/bin:/bin..."` in ~/.zshrc, which drops entries from /etc/paths.d; appending `export PATH="$PATH:<dir>"` after it restores them.
