diff options
Diffstat (limited to 'src/app/creation.rs')
| -rw-r--r-- | src/app/creation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/creation.rs b/src/app/creation.rs index f8edd676..3f643986 100644 --- a/src/app/creation.rs +++ b/src/app/creation.rs @@ -14,6 +14,7 @@ pub(crate) fn resolve_new_terminal_cwd( ) -> PathBuf { match policy { NewTerminalCwdConfig::Follow => follow_cwd + .or_else(|| std::env::var_os("HOME").map(PathBuf::from)) .or_else(|| std::env::current_dir().ok()) .unwrap_or_else(|| PathBuf::from("/")), NewTerminalCwdConfig::Home => std::env::var_os("HOME") |
