Skip to content

Commit

Permalink
fix(windows): prefix install.ps1 with powershell.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 31, 2020
1 parent c2112d0 commit 5853802
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions autoload/doge.vim
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,7 @@ 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
call execute('!powershell.exe ' . g:doge_dir . '/scripts/install.ps1')
else
call execute('!' . g:doge_dir . '/scripts/install.sh')
endif
Expand Down

0 comments on commit 5853802

Please sign in to comment.