Show full, absolute paths when displaying a local worktree

This commit is contained in:
Mikayla Maki 2022-10-17 13:35:45 -07:00
parent 354fefe61b
commit 1f161b9aa1
4 changed files with 25 additions and 4 deletions

View file

@ -1,7 +1,7 @@
use std::path::PathBuf;
lazy_static::lazy_static! {
static ref HOME: PathBuf = dirs::home_dir().expect("failed to determine home directory");
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 LOGS_DIR: PathBuf = HOME.join("Library/Logs/Zed");
pub static ref LANGUAGES_DIR: PathBuf = HOME.join("Library/Application Support/Zed/languages");