From 5f230e331d222102d2fd3d1c273110072b15a5ee Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Fri, 28 Nov 2014 20:17:28 +1100 Subject: [PATCH] checking for --inherit-variable support is too slow --- plugins/bundler/bundler.load | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/bundler/bundler.load b/plugins/bundler/bundler.load index e033171..e455df1 100644 --- a/plugins/bundler/bundler.load +++ b/plugins/bundler/bundler.load @@ -28,7 +28,8 @@ set -l execs annotate \ unicorn \ unicorn_rails -set -l do_eval (function --help | grep -q '‐‐inherit‐variable'; 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"