diff --git a/src/prompt.rs b/src/prompt.rs index 34e3ada0e..42510995b 100644 --- a/src/prompt.rs +++ b/src/prompt.rs @@ -16,7 +16,7 @@ pub fn get_fish_prompt(env_name: &str) -> String { format!( "functions -c fish_prompt old_fish_prompt; \ function fish_prompt; \ - echo \"({}) $(old_fish_prompt)\"; \ + echo \"({})\" (old_fish_prompt); \ end;", env_name )