Skip to content

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

@omarkohl

Description

@omarkohl
$ 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions