From 12938fecf7c97a11e0998b8fc0a52787887d49df Mon Sep 17 00:00:00 2001 From: Nathan Gilbert <546222+nathan-gilbert@users.noreply.github.com> Date: Wed, 3 Mar 2021 09:51:33 -0700 Subject: [PATCH] fix for fish 3.2.0 (#54) --- functions/__nvm_run.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/__nvm_run.fish b/functions/__nvm_run.fish index 2c0e547..dc86bfb 100644 --- a/functions/__nvm_run.fish +++ b/functions/__nvm_run.fish @@ -18,7 +18,7 @@ function __nvm_run set stack (status stack-trace | grep called | cut -d " " -f 7) set count (count $argv) - if type -fqP $argv[1]; and test "$stack[1]" != (which $argv[1]) + if type -fq $argv[1]; and test "$stack[1]" != (which $argv[1]) set count (count $argv) if test "$count" -ge 2 set args $argv[2..-1]