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

Errors on mac #2

Closed
n-029894 opened this issue Mar 20, 2023 · 1 comment
Closed

Errors on mac #2

n-029894 opened this issue Mar 20, 2023 · 1 comment

Comments

@n-029894
Copy link

The List, Add, and Edit menu options all fail with the same error:

ls: todo.md 
: No such file or directory 
Error: No todo files found. 

This happens regardless if I am using -d or -i.

Additionally, I can add one item to the inbox but I am not able to add any additional items. The error for this is:

sed: 1: "todo.md": undefined label 'odo.md' 

gum version 0.9.0
OSX Monterrey
zsh version 5.8.1

@basilioss
Copy link
Owner

basilioss commented Mar 21, 2023

macOS uses FreeBSD's tools that have some limitations. The easiest way to fix these errors is to install the GNU version of these utilities with homebrew (https://apple.stackexchange.com/questions/69223/how-to-replace-mac-os-x-utilities-with-gnu-core-utilities) and add /usr/local/opt/coreutils/libexec/gnubin before other directories in your PATH. If that doesn't work, check out this article that adds a little more stuff to your PATH. As far as I understand, you only need to install coreutils, findutils, gnu-sed and grep.

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