Switch type -fq out for command -q.

This has been available since fish 2.5 (~2017) so we're probably fine.
This commit is contained in:
Justin Hileman
2024-04-20 23:58:40 -04:00
parent ce816e63ed
commit 4f0b0a5638
2 changed files with 15 additions and 13 deletions

View File

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