]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - invoke/nvim/tasks.py
3adc6f92826dfd82faccecdd0b504668ae572e3d
1 from invoke
import task
4 # $env:INVOKE_RUN_SHELL='C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
6 home
= os
.path
.expanduser('~')
7 config_dir
= f
"{home}/AppData/Local/nvim"
8 ps
= r
'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
12 result
= c
.run('Get-Command nvim', shell
=ps
)
13 print(f
"Nvim installed? {result.ok}")
15 print(f
"Config dir is {config_dir}")
16 c
.run(f
"ls {config_dir}", shell
=ps
)