From 64d3dc32d2df76161daa691986e6d401e0482ed1 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 30 Jun 2022 20:30:52 -0700 Subject: [PATCH] Update terminal.rs Whoopsies --- crates/terminal/src/terminal.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs index 984f883746..134cf5be6e 100644 --- a/crates/terminal/src/terminal.rs +++ b/crates/terminal/src/terminal.rs @@ -262,8 +262,7 @@ impl Terminal { .active_entry() .and_then(|entry_id| project.worktree_for_entry(entry_id, cx)) .and_then(|worktree_handle| worktree_handle.read(cx).as_local()) - .map(|wt| wt.abs_path().to_path_buf()) - .or_else(|| Some("~".into())); + .map(|wt| wt.abs_path().to_path_buf()); workspace.add_item(Box::new(cx.add_view(|cx| Terminal::new(cx, abs_path))), cx); }