LMSouq
general-dev Open

Adding a new entry to the PATH variable in ZSH

DA
David Barreto
1 month ago
3 views
Problem Description
I'm using zsh terminal, and I'm trying to add a new entry (`/home/david/pear/bin`) to the `PATH` variable. I don't see a reference to the `PATH` variable in my `~/.zshrc` file, but doing `echo $PATH` returns: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games So I know that the path variable is being set somewhere. Where is the `PATH` variable set / modified for the zsh terminal?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base