Skip to content

Commit

Permalink
Merge pull request #2 from bobthecow/fish-three
Browse files Browse the repository at this point in the history
Make stderr redirection compatible with Fish 3.0.
  • Loading branch information
sagebind authored Jan 14, 2019
2 parents dc5ba13 + e7c9120 commit 13273d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fish_prompt.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# name: Zish

function _is_git_dirty
echo (command git status -s --ignore-submodules=dirty ^/dev/null)
echo (command git status -s --ignore-submodules=dirty 2> /dev/null)
end

function fish_prompt
Expand All @@ -19,7 +19,7 @@ function fish_prompt
printf '%s' (prompt_pwd)
set_color -o red
printf '>'

echo
set_color -o red
printf '└─<'
Expand Down

0 comments on commit 13273d8

Please sign in to comment.