I am trying to write the following as a term start command:
wsl -e zsh -ic ranger --choosefile=vim_ranger_current_file
In powershell this works :
wsl -e zsh -ic 'ranger --choosefile=vim_ranger_current_file'
How do I quote
'ranger --choosefile=vim_ranger_current_file'
in term_start(a:cmd, {'hidden': 1, 'term_finish': 'close', 'cwd': getcwd()})
where
a:cmd = 'wsl -e zsh -ic ranger --choosefile=vim_ranger_current_file'