diff options
author | NerdyPepper <[email protected]> | 2019-05-21 03:58:37 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-05-21 03:58:37 +0100 |
commit | c10d91cc58a563e926921f67aa82d1a615ffe091 (patch) | |
tree | 017196a4c82dd64e94ff517ce55217ddac7ab13e | |
parent | f915e886be92e300494fee7f79e367fdcb26c79b (diff) |
i dun an oopsie
-rw-r--r-- | src/cwd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,8 +8,8 @@ pub fn cwd() -> colored::ColoredString { | |||
8 | let tilde_expand = env::var("EXPAND_TILDE").unwrap_or("0".into()); | 8 | let tilde_expand = env::var("EXPAND_TILDE").unwrap_or("0".into()); |
9 | 9 | ||
10 | match tilde_expand.as_ref() { | 10 | match tilde_expand.as_ref() { |
11 | "0" => {}, | 11 | "0" => path = path.replace(&home[..], "~"), |
12 | _ => path = path.replace(&home[..], "~") | 12 | _ => {} |
13 | }; | 13 | }; |
14 | 14 | ||
15 | let cwd_shorten = env::var("SHORTEN_CWD").unwrap_or("1".into()); | 15 | let cwd_shorten = env::var("SHORTEN_CWD").unwrap_or("1".into()); |