Skip to content

Commit

Permalink
feat(windows): set shell=powershel before running ps1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 31, 2020
1 parent 7388eb4 commit 184f510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/doge.vim
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ endfunction
" Install the necessary dependencies.
function! doge#install() abort
if has('win32')
let l:shell = &shell
set shell=powershell
call execute('!' . g:doge_dir . '/scripts/install.ps1')
let &shell = l:shell
else
call execute('!' . g:doge_dir . '/scripts/install.sh')
endif
Expand Down

0 comments on commit 184f510

Please sign in to comment.