Thursday, July 23, 2020

Re: Quote command

Ended up creating an alias in my zshrc

On Thursday, July 23, 2020 at 6:14:36 AM UTC-4 Tatenda Biti wrote:

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/5a47ca76-0a4d-4794-827e-147a73f7fe77n%40googlegroups.com.

No comments: