Up to now I have been using Sublime Text as my preferred editor, before that it was TextMate, before that it was BBEdit and sometimes in between it...
For further actions, you may consider blocking this person and/or reporting abuse
I made a little experiment this morning, exchanging
$EDITORfor$VISUALand it works as expected.I guess the recommendation should be to use
$VISUALfor you GUI enabled editor and then define$EDITORpoint to a non-gui likevi,nano,vimor similar for hosts where you access viassh.Which makes your shell configuration portable, which holds a lot of benefits.
So I ended up with the following:
Thanks for the pointer. I do however wonder where this is documented, would love to know a know authoritative resource. I will update my TIL accordingly.
On mac, start code in bash.
You can also use the official approach, described here: code.visualstudio.com/docs/setup/mac.
As always, and luckily, there is more than one way to do it :-)
Cool, more simple. thanks. :)
I find your recommendation much more correct, the more I think about it - thanks again.
My
.bash_profilehas followed me for many years, glad to learn that I can still improve it.How to do in windows ?