From c392a05db03ad95f4f411f678a4cd01f6900f7b9 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 25 Jun 2019 19:40:22 +0200 Subject: [PATCH] functions/__fish_anypython: Also try python{3,2}.7 NetBSD!!!!! *shakes fist* --- share/functions/__fish_anypython.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_anypython.fish b/share/functions/__fish_anypython.fish index aec4ed659..01d9c48c2 100644 --- a/share/functions/__fish_anypython.fish +++ b/share/functions/__fish_anypython.fish @@ -1,6 +1,6 @@ function __fish_anypython # Try python3 first, because that's usually faster and generally nicer. - for py in python3 python2 python + for py in python3 python3.7 python2 python2.7 python command -sq $py and echo $py and return 0