I have recently decided to move my personal scripts to a directory in my $HOME
. I have included this directory in my $PATH
variable but have had ZSH respond with "command not found" when attempting to run them. The following line is what I appended to .xprofile
PATH="$PATH:~/.local/share/";export PATH
I have a few scripts in ~/.local/share/
but haven't been able to execute them in ZSH, but in bash it works fine. I have tried adding the live above to my .zshrc
, but that has not worked.
~/.zshrc
file, did your source the file or start a new shell before you tried to run the command? – Andy Dalton May 29 '20 at 23:49