I’m attempting to add support for using Sublime Text and TextMate with files on the router: https://packagecontrol.io/packages/RemoteSubl .
Essentially, the script needs to be added to the
/usr/local/bin
directory:
curl -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate
sudo chmod +x /usr/local/bin/rmate
Unfortunately, the /usr/local/bin
directory doesn’t exist (nor is it on the PATH):
# echo $PATH
/usr/bin:/usr/sbin:/bin:/sbin
Is there a recommended location for user-related scripts, such that they are on the PATH?
Asked by craig
(203 rep)
Oct 16, 2019, 02:55 AM
Last activity: Jun 18, 2025, 03:45 PM
Last activity: Jun 18, 2025, 03:45 PM