aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-03-26 00:10:35 -0400
committerJesse Luehrs <doy@tozt.net>2023-03-26 00:10:35 -0400
commit93e6a9a08aec3cbb8b847a815ad905aa0d0bffca (patch)
tree9c9d3922475e846bd11293d91ddee36b56302355 /src/main.rs
parentf252f4c6595421339cb3119f1ca8ef491077f365 (diff)
downloadfancy-prompt-93e6a9a08aec3cbb8b847a815ad905aa0d0bffca.tar.gz
fancy-prompt-93e6a9a08aec3cbb8b847a815ad905aa0d0bffca.zip
fmt
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b32c2b7..328dc8a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,7 +44,9 @@ mod tests {
error_code: 0,
hostname: Some(String::from("hush")),
terminal_cols: Some(80),
- pwd: Some(std::path::PathBuf::from("/home/doy/coding/fancy-prompt")),
+ pwd: Some(std::path::PathBuf::from(
+ "/home/doy/coding/fancy-prompt",
+ )),
home: Some(std::path::PathBuf::from("/home/doy")),
user: Some(String::from("doy")),
is_root: false,