-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow execution of commands send data through STDIN #53
Comments
By the way, thank you for the tool. I love the simplicity of it. |
I am also using dotbot to do the exact same thing. Here's how you can do it: - shell:
# Install/update vim plugins
-
command: vim -Nu ~/.vimrc.plugins +PlugUpdate +qall &> /dev/null
stdin: true
stdout: true
stderr: true (my vim-plug entries are in a separate If you don't want it to be done silently in the background, remove the |
Thanks for answering the question @bchretien! @pabloferz: glad the tool is working for you :) |
I see. I missed the part of the README where it says you can enable stdin, stdout and stderr. Thank you both! |
The shell command `vim +PlugInstall +qall`, which handles initialization of vim plugins, fails to execute when running `./install`. The solution, as mentioned in anishathalye/dotbot#53, is to enable stdin, stdout, and stderr. `/dev/null` makes the command run silently in the background.
I was trying to set the installation of my vim plugins in the
install.conf.yaml
file. Unfortunately, that does not work.I am using
vim-plug
to handle vim plugins, so I addedvim +PlugInstall +qall
as a shell command, but it fails. I believe that is because of this linein the
commandrunner.py
script. A possible solution would be settingstdin=subprocess.PIPE
, but I'm not sure if that posses a problem in some scenario.The text was updated successfully, but these errors were encountered: