From ac1a4884d03fc0495c773500d8a13f84b695fa43 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Wed, 11 Sep 2019 19:18:14 -0400 Subject: Init --- fish/functions/fish_right_prompt.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fish/functions/fish_right_prompt.fish (limited to 'fish/functions/fish_right_prompt.fish') diff --git a/fish/functions/fish_right_prompt.fish b/fish/functions/fish_right_prompt.fish new file mode 100644 index 0000000..800203c --- /dev/null +++ b/fish/functions/fish_right_prompt.fish @@ -0,0 +1,8 @@ +function fish_right_prompt + set -l fail $status + + if [ $fail != 0 ]; + set_color red; + echo -ne "<$fail>"; + end; +end -- cgit v1.2.3