From a0f8aaf4e7231cb980627de2e843c5acde45c48d Mon Sep 17 00:00:00 2001 From: Pranav Sivaraman Date: Sun, 23 Feb 2025 15:28:51 -0500 Subject: [PATCH] setup-env.fish: fix version checking for completions (#48806) --- share/spack/setup-env.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish index d789056579a..76ec28cff03 100644 --- a/share/spack/setup-env.fish +++ b/share/spack/setup-env.fish @@ -788,8 +788,7 @@ end # set -l fish_version (string split '.' $FISH_VERSION) if test $fish_version[1] -gt 3 - or test $fish_version[1] -eq 3 - and test $fish_version[2] -ge 2 + or begin ; test $fish_version[1] -eq 3 and test $fish_version[2] -ge 2 ; end source $sp_share_dir/spack-completion.fish end