mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-15 17:16:20 +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_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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user