Skip to content

Commit

Permalink
fix for fish 3.2.0 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-gilbert authored Mar 3, 2021
1 parent 812cd8c commit 12938fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/__nvm_run.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 12938fe

Please sign in to comment.