mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-27 18:25:12 +08:00
checking for --inherit-variable support is too slow
This commit is contained in:
parent
b04c7fa42b
commit
5f230e331d
@ -28,7 +28,8 @@ set -l execs annotate \
|
|||||||
unicorn \
|
unicorn \
|
||||||
unicorn_rails
|
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
|
for executable in $execs
|
||||||
if test -z "$do_eval"
|
if test -z "$do_eval"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user