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

Error when .config/ttyper/language directory does not exist #55

Closed
omarkohl opened this issue Jun 30, 2022 · 0 comments · Fixed by #73
Closed

Error when .config/ttyper/language directory does not exist #55

omarkohl opened this issue Jun 30, 2022 · 0 comments · Fixed by #73

Comments

@omarkohl
Copy link

$ ttyper --list-languages
thread 'main' panicked at 'Couldn't get installed languages under config directory.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:219:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The error disappears once I create $HOME/.config/ttyper/language .

My expectation, in order of preference:

@omarkohl omarkohl changed the title Error when config/languages directory does not exist Error when .config/ttyper/language directory does not exist Jun 30, 2022
max-niederman added a commit that referenced this issue Oct 10, 2023
Fixes #54.
Arguably regresses #55,
since there's no longer a warning when the language dir doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant