mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 14:36:42 +02:00
Merge pull request #362 from kdheepak/use-data-instead-of-config-folder
Use data instead of config
This commit is contained in:
commit
b6ee80d80f
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::config_dir()
|
||||
dirs::data_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