Skip to content

Commit

Permalink
fix: Config path default on non-supported OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Mar 2, 2024
1 parent 95134cc commit c404103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configuration/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl Config {
let default_backend = BackendName::Ollama.to_string();
let default_editor = EditorName::Clipboard.to_string();

let mut config_path = path::PathBuf::default();
let mut config_path = dirs::cache_dir().unwrap().join("oatmeal/config.toml");

#[cfg(target_os = "macos")]
{
Expand Down

0 comments on commit c404103

Please sign in to comment.