From 232f224787efd201cc1da4aba4add490c0825c8a Mon Sep 17 00:00:00 2001 From: Leo Wilson Date: Mon, 3 Jun 2019 14:28:29 -0700 Subject: Fix Issue #1 for ZSH --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { let (branch, status) = vcs::vcs_status().unwrap_or(("".into(), "".into())); let venv = venv::get_name(); let prompt_char = prompt_char::get_char(); - format!("{cwd} {branch} {status}\n{venv}{pchar} ", + format!("%{{{cwd} {branch} {status}%}} %{{\n{venv}{pchar}%}} ", cwd=cwd, branch=branch, status=status, -- cgit v1.2.3