Similar to this question, I have a number of scripts (mostly Bash) that I run on documents frequently and would like to access regardless of the current working directory.
Ideally, I would be able run something like $program foobar without $program being present in the directory, so this needs to tell Bash that the programs are in my path.
Should these files go in the bin subdirectory?
First part of the path is as follows:
echo $PATH
/Users/Chris/.rbenv/shims:/usr/local/bin
${HOME}/binis enough, because the out-of-the-box shell initialization scripts auto-detect such a directory and alterPATHaccordingly. – JdeBP Jan 26 '18 at 07:25$HOME/local/binso that I can have other "standard" directories (likeshareand others) under$HOME/local. – Kusalananda Jan 26 '18 at 11:01~/local/mnt, I say~/mnt. That's the nice thing about this -- whoever is doing it can arrange it in the way that make the most sense personally. – DopeGhoti Jan 26 '18 at 15:17