mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-23 20:16:41 +02:00
fix: Change data dir for history 🐛
This commit is contained in:
parent
090269243a
commit
268836ecfa
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ impl HistoryContext {
|
|||
let data_path = if let Ok(s) = std::env::var("TASKWARRIOR_TUI_DATA") {
|
||||
PathBuf::from(s)
|
||||
} else {
|
||||
dirs::data_dir()
|
||||
dirs::data_local_dir()
|
||||
.map(|d| d.join("taskwarrior-tui"))
|
||||
.expect("Unable to create configuration directory for taskwarrior-tui")
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue