Preserve compatibility with fish <2.5

pull/171/head
Justin Hileman 5 years ago
parent c148b97f5c
commit e31962395f

@ -1,6 +1,10 @@
function fish_greeting -d "What's up, fish?"
set_color $fish_color_autosuggestion
uname -nmsr
command -q -s uptime; and uptime
# TODO: `command -q -s` only works on fish 2.5+, so hold off on that for now
command -s uptime >/dev/null
and uptime
set_color normal
end

Loading…
Cancel
Save