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

Avoid calling ypcat if not installed #990

Closed
gdetrez opened this issue Oct 11, 2015 · 7 comments
Closed

Avoid calling ypcat if not installed #990

gdetrez opened this issue Oct 11, 2015 · 7 comments

Comments

@gdetrez
Copy link
Contributor

gdetrez commented Oct 11, 2015

On fedora 22, each time I try to auto-complete a hostname (e.g. ssh + TAB), I get Install package 'yp-tools' to provide command 'ypcat'? [N/y] printed 3 times in the middle of my command prompt. This is a minor annoyance, and I should probably just install yp-tools and move on but ideally zsh should only call ypcat if it is present in the system.

@laytoneverson
Copy link

+1

@sorin-ionescu
Copy link
Owner

The completion module is your problem. Just install it. It's found by default on other systems.

@bsidhipong
Copy link

That's not a reasonable solution, Sorin. These days, it's perfectly reasonable to leave out any trace of NIS, and not having ypcat installed while tabbing through hostname completion in scp is fairly invasive.

@jpts
Copy link

jpts commented Nov 11, 2016

+1 Just come across this whilst trying to debug the ypcat error. I have no use for NIS, especially in a home environment.

jpts added a commit to jpts/zsh-prezto-completion that referenced this issue Nov 18, 2016
rhcarvalho added a commit to rhcarvalho/prezto that referenced this issue Jul 22, 2019
I have no use for adding hosts from /etc/hosts to completion.
See sorin-ionescu#990.
rhcarvalho added a commit to rhcarvalho/prezto that referenced this issue Aug 13, 2019
I have no use for adding hosts from /etc/hosts to completion.
See sorin-ionescu#990.
@meghprkh
Copy link

This issue is ocurring again. (Though I just installed yp-tools)

@bruteforks
Copy link

this is still an issue

@leppaott
Copy link

Same issue. Seemed that it would start looping the "do you want to install yp-tools..." and it will cause unstable/slow terminal even after it seems it would've been terminated.

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

8 participants