diff options
-rw-r--r-- | share/functions/_.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/_.fish b/share/functions/_.fish index 33fdd43e..a1404761 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 |