moreutils icon indicating copy to clipboard operation
moreutils copied to clipboard

vidir: on mac, always thinks "vi exited nonzero, aborting"

Open bradparks opened this issue 8 years ago • 0 comments

I've been trying to use vidir, but it fails on the Mac with

vi exited nonzero, aborting

no matter how I exit vi. I've tried using vi itself and exiting then echoing the exit code, and it exits with 0.

I've also tried running it like so:

EDITOR=/usr/bin/vi vidir ~/bin

with no luck. I normally have vi aliased to vi: aliased to vim -O -n, but tried without the alias to no avail.

bradparks avatar Aug 21 '17 14:08 bradparks