Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
0xdeadbeefbabe
· 2y ago · 0 comments
In vim vi or nvim :r !date gives me shell returned 2
Comments
[–]
xiaq
2y ago
Did you set your login shell to Elvish? Vim unfortunately relies on your shell being a POSIX shell, but you can fix that with "set shell=/bin/sh" in your rc file.
[–]
xiaq
2y ago
FWIW, I've just added this instruction to
https://elv.sh/get/default-shell.html#vim-/-neovim