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.
+1
The completion module is your problem. Just install it. It's found by default on other systems.
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.
+1 Just come across this whilst trying to debug the ypcat error. I have no use for NIS, especially in a home environment.
This issue is ocurring again. (Though I just installed yp-tools)
Most helpful comment
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.