Skip to content

Commit 4af3bca

Browse files
authored
fix: correct fish prompt (#981)
1 parent 59315c5 commit 4af3bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn get_fish_prompt(env_name: &str) -> String {
1616
format!(
1717
"functions -c fish_prompt old_fish_prompt; \
1818
function fish_prompt; \
19-
echo \"({}) $(old_fish_prompt)\"; \
19+
echo \"({})\" (old_fish_prompt); \
2020
end;",
2121
env_name
2222
)

0 commit comments

Comments
 (0)