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.
|
function fish_right_prompt
|
|
set -l exit_code $status
|
|
if test $exit_code -ne 0
|
|
set_color red
|
|
else
|
|
set_color green
|
|
end
|
|
printf '%d' $exit_code
|
|
set_color yellow
|
|
printf ' < %s' (date +%H:%M:%S)
|
|
set_color normal
|
|
end |