diff --git a/vim/vimrc b/vim/vimrc index cda34bf..4dbb200 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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