vimrc: nushell workaround

This commit is contained in:
2026-05-22 04:10:05 -04:00
parent b17760b54a
commit bc7a7c529e

View File

@@ -43,3 +43,8 @@ endif
if !has('gui_running')
set mouse-=a
endif
" nushell can't be used as vim's shell (stdin piping for sudo, etc.)
if &shell =~# 'nu$'
set shell=/bin/sh shellcmdflag=-c shellxquote=
endif