I am a new macOS user and I want to create a bash script that I can add to the PATH and run as a "normal" command (cd for example). I'm the only user of the Mac and so I'll be forever, but just in case, I don't want to put my script in a place where other users can run it.
What's the standar way of doing so? Do i have to put it in my home directory? or maybe somewhere in the root and restrict access with chmod? I'm a bit confused... Any help is appreciated!
0700
. – user1934428 Feb 08 '22 at 14:18