iridakos / stup

Daily notes in the terminal :penguin:
https://github.com/iridakos/stup
MIT License
415 stars 31 forks source link

How to run on macOS Catalina #47

Open vigo opened 4 years ago

vigo commented 4 years ago

Hi, just tried with macOS 10.15.4. If you install coreutils such as brew install coreutils then you'll have gprintf, gdate and greadlink...

example about -prinf replacements...

# you'll see few more
done < <(find $REPOSITORY_ROOT -path "$target_path/*.md" ! -empty -printf "%f\n" | sort -r)

should be:

done < <(find $REPOSITORY_ROOT -path "$target_path/*.md" ! -empty -print | sort -r)

macOS' find command doesn't support printf.

Well, maybe this information will help :) Big fan of goto here :)

iridakos commented 4 years ago

Hi @vigo!!!

I will deal with this as we already did in this pull request for the gdate issue!

Well, maybe this information will help

It surely did! Thank you very much for your feedback :rocket: :rocket: :rocket:

Big fan of goto here

:pray: