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.
which
ing 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?
bash
orzsh
. – phemmer Feb 06 '18 at 13:43bash
. – Alec Feb 06 '18 at 13:45