Skip to content

Add comment for macOS users of fill_template.sh#187

Closed
saurabhkaul wants to merge 3 commits intoemilk:mainfrom
saurabhkaul:main
Closed

Add comment for macOS users of fill_template.sh#187
saurabhkaul wants to merge 3 commits intoemilk:mainfrom
saurabhkaul:main

Conversation

@saurabhkaul
Copy link

@saurabhkaul saurabhkaul commented Apr 3, 2025

Fixes #164 by adding a comment for macOS users in the README, as mentioned as a possible solution in the Issue.

However, I'm open to further ideas, right now this feels like the lowest hanging fruit.

Also, this explicitly refers to the homebrew method of adding gnused in macOS, while there are other ways too (like using nix for example), so should we keep it or should we let the user figure out how they wanna install gnused on their machine?

@c-git
Copy link
Contributor

c-git commented Apr 3, 2025

I think providing at least one way is better. If you now how to do the nix approach you can mention both.

Alternatively, you can run `fill_template.sh` which will ask for the needed names and email and perform the above patches for you. This is particularly useful if you clone this repository outside GitHub and hence cannot make use of its
templating function.

(macOS users will need to install GNU sed first for the script to work, if you're using Homebrew you can use `brew install gnu-sed` and then add it to your path `PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want an empty line before the next heading.

@saurabhkaul
Copy link
Author

@emilk Would love your thoughts here

@lucasmerlin
Copy link
Collaborator

Thanks! But it'd of course be better for the script to just work on macOS, I opened a fix here: #188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet