mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00: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…
Reference in New Issue
Block a user