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

Read from $PATH for commands to run #4

Open
ReneFroger opened this issue Jun 24, 2022 · 1 comment
Open

Read from $PATH for commands to run #4

ReneFroger opened this issue Jun 24, 2022 · 1 comment

Comments

@ReneFroger
Copy link

I have the tye, an executable. type tye gives me this: /home/user/.dotnet/tools/tye.

Moving this to /usr/bin/ will not work. Tye which needs dependencies which are stored in dotnet/tools. But when I do hap run tye, I get the error: /bin/sh: 1: tye not found`.

But dotnet/tools is in my PATH. So I think Hapless should include the local path as well when running commands?

@bmwant
Copy link
Owner

bmwant commented Jun 25, 2022

Right, agree that it should automatically pickup whatever is possible to run from current shell session. I will look into that and fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants