diff --git a/modules/home/core/fish_prompt.fish b/modules/home/core/fish_prompt.fish index 90da21b..1f04db0 100644 --- a/modules/home/core/fish_prompt.fish +++ b/modules/home/core/fish_prompt.fish @@ -16,8 +16,8 @@ set -l divider (set_color blue) ' ~~ ' $normal set -x __fish_git_prompt_show_informative_status yes set -l prompt_nix_shell '' -test $SHLVL != 0; and set -l prompt_subshell ' +'(math $SHLVL - 1)' ' +test $SHLVL -gt 1; and set -l prompt_subshell '+'(math $SHLVL - 1)' ' echo -echo -s '[' $prompt_status '] ' (prompt_hostname) $divider (set_color cyan) (prompt_pwd) $divider (fish_vcs_prompt ' ' ) +echo -s '[' $prompt_status '] ' $prompt_subshell (prompt_hostname) $divider (set_color cyan) (prompt_pwd) $divider (fish_vcs_prompt ' ' ) echo -s -n $suffix $normal ' '