diff --git a/share/functions/_.fish b/share/functions/_.fish index 33fdd43e1..a1404761e 100644 --- a/share/functions/_.fish +++ b/share/functions/_.fish @@ -3,7 +3,7 @@ # Alias for gettext (or a fallback if gettext isn't installed) # -if which gettext ^/dev/null >/dev/null +if test -x (which gettext) ^/dev/null >/dev/null function _ -d "Alias for the gettext command" gettext fish $argv end