From 7e0e7459585d2b51856fda10ea2a91febf0cf611 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 7 Aug 2016 15:47:16 -0700 Subject: [PATCH] The last commit introduced a Travis failure. Only on the OS X travis build. I can't reproduce it but I figure it's something to do with test -e vs test -x or the echo -n in command substitution. Oops. --- share/functions/_.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/_.fish b/share/functions/_.fish index fcfd75db5..4ab93ce69 100644 --- a/share/functions/_.fish +++ b/share/functions/_.fish @@ -2,7 +2,7 @@ # Alias for gettext (or a fallback if gettext isn't installed) # set -l gettext_path (command -v gettext) -if test -e (echo -n $gettext_path) +if test -x (echo $gettext_path) function _ --description "Alias for the gettext command" command gettext fish $argv end