I’ve recently installed Sublime 3 on Fedora using the instructions on this website. https://digitizor.com/install-sublime-text-editor-3-fedora-redhat/
Once installed, I was unable to run sublime using the command “subl” without first fixing the script. Two edits had to be made so that I could use it.
-
"if [ ${1} == “–help” ] needs quotes around the $1 so that the program can be run without giving it any arguments.
-
The path to open sublime was incorrect in the script after I installed it.
The path in the script was “/usr/local/sublime-text-3/sublime_text” but needed to be “/usr/local/sublime-text-3/sublime_text_3/sublime_text”.
Hopefully both these issues with the script can be fixed. Thanks.