mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Sane initial value for status_info
This commit is contained in:
parent
5a38bf4294
commit
b089ef626d
@ -78,7 +78,7 @@ function fish_prompt
|
||||
end
|
||||
|
||||
# Last command
|
||||
set -l status_info
|
||||
set -l status_info ""
|
||||
if [ $last_status -ne 0 ]
|
||||
set status_info "$red""command failed with status: $last_status"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user