~razzi/fish-functions

ec9a70ad3cceef8183491de822d42b5e50ce814b — Razzi Abuissa 9 months ago ff1e888
Use line-count for proper stash count
1 files changed, 1 insertions(+), 1 deletions(-)

M functions/fish_prompt.fish
M functions/fish_prompt.fish => functions/fish_prompt.fish +1 -1
@@ 19,7 19,7 @@ function fish_prompt --description 'Write out the prompt'

    # printf '%s ' (__fish_git_prompt)
    if in-git-dir
        set stashes (git stash list | word-count)
        set stashes (git stash list | line-count)
        if test $stashes -gt 0
            printf '%s ' $stashes
        end