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

lstat /home/foo/.config/cheat/cheatsheets: no such file or directory #730

Open
guettli opened this issue Mar 30, 2023 · 1 comment
Open

Comments

@guettli
Copy link

guettli commented Mar 30, 2023

Thanks for submitting a bug report. Please provide the following information:

A description of the problem

Here is what I did:

❯ go install github.com/cheat/cheat/cmd/cheat@latest
go: downloading github.com/cheat/cheat v0.0.0-20221105171122-0d9c92c8c0f9
...

❯ cheat
A config file was not found. Would you like to create one now? [Y/n]: y
Would you like to download the community cheatsheets? [Y/n]: n
Created config file: /home/guettli/.config/cheat/conf.yml
Please read this file for advanced configuration information.

❯ cheat -e foo
failed to load config: failed to resolve symlink: /home/foo/.config/cheat/cheatsheets/community: lstat /home/guettli/.config/cheat/cheatsheets: no such file or directory
@guettli guettli added the bug label Mar 30, 2023
@chrisallenlane
Copy link
Member

Ah, geez. This is a really stupid behavior that I overlooked. Thanks for the bug report. I'll see what I can do about it.

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

No branches or pull requests

2 participants