aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/ls.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/ls.fish
parent6f7a7459c1dadc88e793b558d5ce2668359e7bea (diff)
Adopt the new type -q flag in the other functions
Diffstat (limited to 'share/functions/ls.fish')
-rw-r--r--share/functions/ls.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/ls.fish b/share/functions/ls.fish
index dd4fb3a6..4824e1c1 100644
--- a/share/functions/ls.fish
+++ b/share/functions/ls.fish
@@ -13,7 +13,7 @@ if command ls --version 1>/dev/null 2>/dev/null
end
if not set -q LS_COLORS
- if type -f dircolors >/dev/null
+ if type -q -f dircolors
eval (dircolors -c | sed 's/>&\/dev\/null$//')
end
end