I want to set reedit as my default editor again for the shell, and I’ve done
this before, but the problem was always when I logged in remotely. I was
thinking about something like this and wanted to see if anyone had any
comments, suggestions, warnings, complaints, etc.
if [[ $DISPLAY != "" ]]; then
function vi() { /usr/local/bin/bbedit -uw "${@}"; }
function vim() { /usr/local/bin/bbedit -uw "${@}"; }
else
function vi() { /usr/local/bin/vim "${@}"; }
function vim() { /usr/local/bin/vim "${@}"; }
fi
--
Qui me amat, amat et canem meam
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>