dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 4be5fecbdd65e1095947d517038ee73bdb54a3d2
parent 0f9a4fe4f84a63c5d5681c593db6f5bd04866f14
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 12 Dec 2019 05:46:06 -0500

Prefer vis(1) for $VISUAL if available

Diffstat:
M.profile.d/visual.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.profile.d/visual.sh b/.profile.d/visual.sh @@ -1,2 +1,7 @@ -VISUAL=vi +if type vis >/dev/null 2>&1 +then + VISUAL=vis +else + VISUAL=vi +fi export VISUAL