Sunday, July 19, 2020

Quote command


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'

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/7d8f6815-8ea9-412f-a09b-45e0878937a6n%40googlegroups.com.

No comments:

Post a Comment