Open robburley opened 6 years ago
I think it should be APP_EDITOR
instead of EDITOR
to match the other variables.
True, have updated the initial example.
And there's a small typo: 'edit'
Thats embarrassing!
EDITOR
is the system-wide editor which could be used as a fallback. Similar to how git checks for GIT_EDITOR
and then EDITOR
. (And then there's also VISUAL
.)
Does this work? I tried it on my local Homestead box setup (Windows 7) and it didn't launch anything for Sublime Text when I clicked the link. Probably related to the fact that the files are in a virtual environment. Any other Windows users have this issue?
Looks like you have to install this: https://github.com/ljubadr/sublime-protocol-win
@staudenmeir Thanks!
Based off of a tweet from Marcel Pociot (https://twitter.com/marcelpociot/status/1016784890128470017), I'd like to add this option and pull the value from the .env file.
and this to env.example
APP_EDITOR=