The following launches ST and immediately returns with no changes/edits made.
EDITOR="subl -w" crontab -e
The following launches ST and immediately returns with no changes/edits made.
EDITOR="subl -w" crontab -e
I can’t reproduce this on Ubuntu 18.04 (or 14.04) with build 3211. Which OS/version are you using?
Please see https://askubuntu.com/questions/844064/how-can-i-set-sublime-as-default-text-editor-for-crontab#844067. crontab on macos expects EDITOR
to point to an executable, it doesn’t run the editor in a shell. You’ll need to make an executable shell-script that runs subl -w
and use that with crontab.
Note: this isn’t an issue for other crontab implementations. On linux this works fine.