Skip to content
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

Autocomplete for ssh command fails with vagrant ssh error: Found argument '-n' which wasn't expected, or isn't valid in this context #13477

Open
Nikola-Milovic opened this issue Jul 21, 2024 · 0 comments

Comments

@Nikola-Milovic
Copy link

Ubuntu 22.04
Vagrant 2.4.1

Bash version GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

Added to my .bashrc

. /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/contrib/bash/completion.sh

If I try and tab when using vagrant ssh I get the following error

➜ vagrant plugin  <- autocomplete works as intended
install    license    list       uninstall  update

➜ vagrant ssh error: Found argument '-n' which wasn't expected, or isn't valid in this context <- errors out

USAGE:
    fd [FLAGS/OPTIONS] [<pattern>] [<path>...]

For more information try --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant