Prezto: Avoid calling ypcat if not installed

Created on 11 Oct 2015  路  5Comments  路  Source: sorin-ionescu/prezto

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.

Discussion

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.

All 5 comments

+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)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lokesh-krishna picture lokesh-krishna  路  5Comments

jeffwidman picture jeffwidman  路  3Comments

brycekellogg picture brycekellogg  路  4Comments

TsichiChang picture TsichiChang  路  3Comments

askurihin picture askurihin  路  5Comments