Skip to content

Commit

Permalink
Windows Fix Powershell (#479)
Browse files Browse the repository at this point in the history
* wip

* wat

* wuh
  • Loading branch information
saranshsaini authored Dec 2, 2024
1 parent 605ab06 commit d152e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/codeium/server.vim
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ function! s:UnzipAndStart(status) abort
let old_shellredir = &shellredir
" Switch to powershell.
let &shell = 'powershell'
set shellquote= shellpipe=\| shellxquote=
set shellquote=\"
set shellpipe=\|
set shellcmdflag=-NoLogo\ -NoProfile\ -ExecutionPolicy\ RemoteSigned\ -Command
set shellredir=\|\ Out-File\ -Encoding\ UTF8
call system('& { . ' . shellescape(s:root . '/powershell/gzip.ps1') . '; Expand-File ' . shellescape(s:bin . '.gz') . ' }')
Expand Down

0 comments on commit d152e6c

Please sign in to comment.