mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
Preserve compatibility with fish <2.5
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
function fish_greeting -d "What's up, fish?"
|
function fish_greeting -d "What's up, fish?"
|
||||||
set_color $fish_color_autosuggestion
|
set_color $fish_color_autosuggestion
|
||||||
uname -nmsr
|
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
|
set_color normal
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user