-
Notifications
You must be signed in to change notification settings - Fork 74
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
ignore aliases for different commands #90
Conversation
Thanks @sasg! Looks fine. Still trying to think of some cases where this could cause breakage for the current behavior... |
Hi @sasg, I checked sudo part on Vagrant uses Can you give detail of your situation? Which files do you configure alias?(/etc/bashrc ? /etc/profile.d/ ?)
|
Hi @otahi, thanks for testing! I did some more debugging and found it only happens, when "config.ssh.pty" in Vagrant is set to true. Then you will get this:
The For example:
Another solution would be to add a Thanks and Regards, |
Oh, So not really sure what to do here. |
Hi @tmatilai, you're absolutely right! I played a little bit with some vagrant options and also with the proxyconf plugin. But for the problem, I looked deeper in the code of vagrant and they also using the "-f" option for commands in some parts of the code. Do you think it makes sense to have this small change for reasons like this ? Thanks and Regards, |
@tmatilai, |
Great, thanks! |
ignore aliases for different commands
Hi,
i had the problem that e.g. CentOS6 sets some aliases for mv, rm and cp to use -i (interactive).
In this case, the plugin doesn't work properly. It seems to wait forever.
I simply added a backslash in front of the commands, which ignores aliases.
Regards,
Sascha