aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Wilson <[email protected]>2019-06-03 22:28:29 +0100
committerLeo Wilson <[email protected]>2019-06-03 22:28:29 +0100
commit232f224787efd201cc1da4aba4add490c0825c8a (patch)
tree36a345160f6d680171e36978a4188a6cdf833b2e /src
parentc2449b7aa528e9b5a03d690a5a73b46d960e5841 (diff)
Fix Issue #1 for ZSH
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cee0c21..d7dc687 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -28,7 +28,7 @@ fn pista() -> String {
28 let (branch, status) = vcs::vcs_status().unwrap_or(("".into(), "".into())); 28 let (branch, status) = vcs::vcs_status().unwrap_or(("".into(), "".into()));
29 let venv = venv::get_name(); 29 let venv = venv::get_name();
30 let prompt_char = prompt_char::get_char(); 30 let prompt_char = prompt_char::get_char();
31 format!("{cwd} {branch} {status}\n{venv}{pchar} ", 31 format!("%{{{cwd} {branch} {status}%}} %{{\n{venv}{pchar}%}} ",
32 cwd=cwd, 32 cwd=cwd,
33 branch=branch, 33 branch=branch,
34 status=status, 34 status=status,