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

fix: run neowofetch directly on unix #361

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

getchoo
Copy link
Contributor

@getchoo getchoo commented Oct 24, 2024

Description

neowofetch should contain a shebang and be directly executable, so we shouldn't be spawning a subshell for it

Relevant Links

n/a

Screenshots

n/a

Additional context

This avoids bash being a hard dependency in the user's $PATH when using the neofetch backend. It also helps in packaging hyfetch for Nix, Guix, etc. where binaries have their $PATHs explicitly wrapped with external binaries that are called

The script should contain a shebang, so no need to spawn a subshell for
it
@hykilpikonna hykilpikonna merged commit 28b365d into hykilpikonna:master Oct 25, 2024
2 checks passed
@hykilpikonna
Copy link
Owner

Thanks! It works

@getchoo getchoo deleted the directfetch branch October 26, 2024 01:20
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

Successfully merging this pull request may close these issues.

2 participants