aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/visual.sh
Commit message (Collapse)AuthorAgeFilesLines
* Just use whichever vi(1) we need as VISUALTom Ryder2017-05-141-6/+2
| | | | | | | This avoids an unwanted situation on e.g. Debian minimal where the default Vi implementation is a stripped-down Vim that doesn't use vim(1) as a name, so stuff like sudoedit(8) breaks looking for it and falls back on EDITOR.
* Use env vars not shell funcs for vim checkTom Ryder2017-03-091-2/+6
| | | | | | Set EDITOR and VISUAL appropriately based on what's on the system. We can't assume ed(1) unfortunately, but ex(1) should be there.
* Arrange EDITOR/VISUAL in a more typical wayTom Ryder2016-08-181-0/+3