Save conversations to ~/.config/zed/conversations
Still need to implement loading / listing. I'd really be rather write operations to a database. Maybe we should be auto-saving? Integrating with panes? I just did the simple thing for now.
This commit is contained in:
parent
75b5ac8488
commit
882009bc75
4 changed files with 61 additions and 6 deletions
|
@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize};
|
|||
lazy_static::lazy_static! {
|
||||
pub static ref HOME: PathBuf = dirs::home_dir().expect("failed to determine home directory");
|
||||
pub static ref CONFIG_DIR: PathBuf = HOME.join(".config").join("zed");
|
||||
pub static ref CONVERSATIONS_DIR: PathBuf = HOME.join(".config/zed/conversations");
|
||||
pub static ref LOGS_DIR: PathBuf = HOME.join("Library/Logs/Zed");
|
||||
pub static ref SUPPORT_DIR: PathBuf = HOME.join("Library/Application Support/Zed");
|
||||
pub static ref LANGUAGES_DIR: PathBuf = HOME.join("Library/Application Support/Zed/languages");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue