Scenario
I have a ProductivityScripts project on GitHub, and when I install Linux (Debian 9), I add this folder to PATH for ease of use.
I.e., I add the following line to ~/.bashrc:
export PATH="~/Dev/ProductivityScripts:$PATH"
It works. I can now run scripts from inside this folder by name from anywhere.
alec@my_host:~$ capsalt
SUCCESS!
However, if I type which capsalt I get no output.
whiching most things works.
alec@my_host:~$ which git
/usr/bin/git
Question
Shouldn't which also track down scripts that are available from locations added to PATH manually? Or is there another reason why this isn't working?
bashorzsh.bash.