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

Check if another binary exists as "hn" #96

Open
tekknolagi opened this issue Apr 26, 2017 · 2 comments
Open

Check if another binary exists as "hn" #96

tekknolagi opened this issue Apr 26, 2017 · 2 comments

Comments

@tekknolagi
Copy link

tekknolagi commented Apr 26, 2017

I was about to leave an issue that the screenshots look nothing like the program! But after some investigation I realized that I had installed hn from npm, a completely separate program, and it happened to be before your injected hn in the path. I removed it, and of course haxor-news works beautifully.

I don't know if it's possible or a good idea, but it would be nice to check for dumb people like me who forget they installed 3 or 4 HN CLI clients at once.

@donnemartin
Copy link
Owner

Hi @tekknolagi, thanks for the feedback! Sorry for the late reply I've been out.

@matthiasbeyer
Copy link

What OP suggests is not task of the developer of the program, but the packaging infrastructure. So this should be either fixed by npm or pypi or whatever is used to install haxor-news and/or the other program.

So I'd suggest closing this issue, as it does not belong here.


That beeing said I would say that it is not possible to do such a thing, at all. It would mean that every package management software out there would need to check the $PATH and whether there is already a command with the same name. This is simply not possible.

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

3 participants