summaryrefslogtreecommitdiff
path: root/dot-config/fish/functions/fish_prompt.fish
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/fish/functions/fish_prompt.fish')
-rw-r--r--dot-config/fish/functions/fish_prompt.fish11
1 files changed, 8 insertions, 3 deletions
diff --git a/dot-config/fish/functions/fish_prompt.fish b/dot-config/fish/functions/fish_prompt.fish
index be2b7e2e..55f8453e 100644
--- a/dot-config/fish/functions/fish_prompt.fish
+++ b/dot-config/fish/functions/fish_prompt.fish
@@ -103,9 +103,14 @@ function fish_prompt
and _nim_prompt_wrapper $retc '' (path basename "$VIRTUAL_ENV")
# git
- set -l prompt_git (fish_git_prompt '%s')
- test -n "$prompt_git"
- and _nim_prompt_wrapper $retc '' $prompt_git
+ # set -l prompt_git (fish_git_prompt '%s')
+ # test -n "$prompt_git"
+ # and _nim_prompt_wrapper $retc '' $prompt_git
+
+ # jj
+ set -l prompt_jj (fish_jj_prompt '%s')
+ test -n "$prompt_jj"
+ and _nim_prompt_wrapper $retc '' $prompt_jj
test ! $prompt_status = 0; and _nim_prompt_wrapper $retc '' (fish_status_to_signal $prompt_status)