The shebang (the #!/bin/fender line) requires fender to be installed in the /bin directory. If installed to a different directory, it does not work.
Using #!/usr/bin/env fender will use the first fender binary found within the PATH environment variable - so if it's installed to /usr/local/bin, which is the conventional place for binaries installed by the local admin rather than the system, or /home/eliminmax/.cargo/bin, which is where cargo installs binaries by default on my system, it would still work.
I am a bit of a control freak when it comes to the software on my systems, and I like to keep things organized
The shebang (the
#!/bin/fender
line) requires fender to be installed in the/bin
directory. If installed to a different directory, it does not work.Using
#!/usr/bin/env fender
will use the firstfender
binary found within thePATH
environment variable - so if it's installed to/usr/local/bin
, which is the conventional place for binaries installed by the local admin rather than the system, or/home/eliminmax/.cargo/bin
, which is wherecargo
installs binaries by default on my system, it would still work.I am a bit of a control freak when it comes to the software on my systems, and I like to keep things organized