]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - invoke/nvim/tasks.py
1 from invoke
import task
5 # $env:INVOKE_RUN_SHELL='C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
7 home
= os
.path
.expanduser('~')
9 ps
= r
'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
10 config_dir
= f
"{home}/AppData/Local/nvim"
12 if(platform
.system() == 'Linux'):
14 config_dir
= f
"{home}/.config/nvim"
18 result
= c
.run('Get-Command nvim', shell
=ps
)
19 print(f
"Nvim installed? {result.ok}")
21 print(f
"Config dir is {config_dir}")
22 c
.run(f
"ls {config_dir}", shell
=ps
)