aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/seq.fish
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-07-10 00:26:58 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-07-13 19:11:29 -0700
commit533496e43ac4de68537b66412d54e880e03b6561 (patch)
treeed6bf5c69595aa0385ce8307d542feaae91e8c1b /share/functions/seq.fish
parent6f7a7459c1dadc88e793b558d5ce2668359e7bea (diff)
Adopt the new type -q flag in the other functions
Diffstat (limited to 'share/functions/seq.fish')
-rw-r--r--share/functions/seq.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/seq.fish b/share/functions/seq.fish
index 0f5f8534..4229f0c5 100644
--- a/share/functions/seq.fish
+++ b/share/functions/seq.fish
@@ -2,7 +2,7 @@
# test -x in /usr/bin/seq because that's where it usually is and
# that's substantially cheaper than the type function
-if begin ; not test -x /usr/bin/seq ; and not type -f seq > /dev/null; end
+if begin ; not test -x /usr/bin/seq ; and not type -q -f seq; end
# No seq command
function seq --description "Print sequences of numbers"
__fish_fallback_seq $argv