You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
164 B
Fish
10 lines
164 B
Fish
12 years ago
|
function fish_right_prompt
|
||
|
set -l last_status $status
|
||
|
|
||
|
if test $last_status -ne 0
|
||
|
set_color red
|
||
|
printf '%d' $last_status
|
||
|
set_color normal
|
||
|
end
|
||
|
end
|