aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cwd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cwd.rs b/src/cwd.rs
index 7550683..7672981 100644
--- a/src/cwd.rs
+++ b/src/cwd.rs
@@ -3,7 +3,7 @@ use tico::tico;
3use colored::*; 3use colored::*;
4 4
5pub fn cwd() -> colored::ColoredString { 5pub fn cwd() -> colored::ColoredString {
6 let mut path = env::var("PWD").unwrap(); 6 let mut path = format!("{}", env::current_dir().unwrap_or("".into()).display());
7 let home = env::var("HOME").unwrap(); 7 let home = env::var("HOME").unwrap();
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