persist charselect, repl history and others in data dir

We were using the runtime dir with a fallback to a directory
that was equivalent to the data dir on !xdg systems.  That
meant that the state in the runtime dir was often scrubbed
around a reboot.

refs: https://github.com/wez/wezterm/discussions/4019
refs: https://github.com/wez/wezterm/issues/4047
This commit is contained in:
Wez Furlong committed 2023-07-22 10:31:03 -07:00
1 parent 3e3df823e4
commit a07ab883af
9 files changed
+17 -7

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ impl RepoSpec {
}
fn plugins_dir() -> PathBuf {
config::RUNTIME_DIR.join("plugins")
config::DATA_DIR.join("plugins")
}
fn checkout_path(&self) -> PathBuf {