Skip to content

Commit

Permalink
fix shell on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato3713 committed Apr 4, 2023
1 parent 772bc4d commit ebf0a95
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions nvim/init.vim
Expand Up @@ -40,10 +40,14 @@ set wildignore+=*.o,*.obj,*.class,*.exe,*.jpg,*.png,*.jar,*.apk,*.pdf,*.aux,*.xl
set timeoutlen=500

" terminal mode
set shell=nyagos
set shellcmdflag=-c
set shellxquote=
set shellxescape=
if has('win32') || has('win64')
set shell=nyagos
set shellcmdflag=-c
set shellxquote=
set shellxescape=
else
set shell=zsh
endif

" set default filtype as plain text
function! s:NoneFileTypeSetTxt()
Expand Down

0 comments on commit ebf0a95

Please sign in to comment.