monaspace icon indicating copy to clipboard operation
monaspace copied to clipboard

Install scripts bash improvements

Open opatry opened this issue 1 year ago • 4 comments

Original motivation was to let me call the util/install_macos.sh script from anywhere, which was my original intent to install the fonts. I downloaded and extracted the zip somewhere, then from the working dir I was in, I just called ~/Downloads/monaspace-v1.101/util/install_macos.sh and it failed.

With the first commit, it can now be called from anywhere.

While I was as it, I suggested some improvements (maybe a bit opinionated?), feel free to request removal of some if it doesn't suit your practices. There are several commits to better isolate changes. Commits detailed message contain motivation/explanation when relevant if you need.

opatry avatar Nov 04 '24 08:11 opatry

I just noticed I went a bit quickly and missed PR #218

My version follows the same logic but goes a step beyond and also handles macOS though.

opatry avatar Nov 04 '24 12:11 opatry

Also relates to PR #239

opatry avatar Nov 04 '24 12:11 opatry

Also related to PR #66 & issue #63

opatry avatar Nov 04 '24 12:11 opatry

Just want to say that this is an important PR because it fixes the shebang.

JRodez avatar Nov 29 '24 11:11 JRodez