From 669a6a719f6b53e9f18692ea652bcbdd76aeb896 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Mon, 10 Jan 2022 13:36:28 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20Use=20data=20instead=20of=20config=20?= =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history.rs b/src/history.rs index 60f4237..c89707b 100644 --- a/src/history.rs +++ b/src/history.rs @@ -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") };