checking for --inherit-variable support is too slow

This commit is contained in:
Bruno Pinto 2014-11-28 20:17:28 +11:00
parent b04c7fa42b
commit 5f230e331d

View File

@ -28,7 +28,8 @@ set -l execs annotate \
unicorn \
unicorn_rails
set -l do_eval (function --help | grep -q 'inheritvariable'; and echo false)
# Fish 2.1.1+ has support for --inherit-variable
set -l do_eval (echo $FISH_VERSION | grep 2.1.1-)
for executable in $execs
if test -z "$do_eval"