diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b839325..1a77759 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -50,12 +50,13 @@ fn pista(zsh: bool) -> String { | |||
50 | ) | 50 | ) |
51 | } else { | 51 | } else { |
52 | format!( | 52 | format!( |
53 | "{cwd} {branch} {status}\n{venv}{pchar} ", | 53 | "{cwd} {branch} {status}\n{venv}{nix}{pchar} ", |
54 | cwd = cwd, | 54 | cwd = cwd, |
55 | branch = branch, | 55 | branch = branch, |
56 | status = status, | 56 | status = status, |
57 | venv = venv, | 57 | venv = venv, |
58 | pchar = prompt_char | 58 | pchar = prompt_char, |
59 | nix = venv::in_nix_shell() | ||
59 | ) | 60 | ) |
60 | } | 61 | } |
61 | } | 62 | } |