The `uptime` command does not exist in some environments, such as MSYS2, so execute the command only if it exists.pull/189/head
parent
b13f022708
commit
fb707d7b37
@ -1,6 +1,6 @@
|
||||
function fish_greeting -d "What's up, fish?"
|
||||
set_color $fish_color_autosuggestion
|
||||
uname -nmsr
|
||||
uptime
|
||||
command -q -s uptime; and uptime
|
||||
set_color normal
|
||||
end
|
||||
|
Loading…
Reference in new issue