From 35013773ba8d32340e97c1ac4d1bacaea8e6e4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Chevalier?= Date: Tue, 25 Feb 2025 14:11:55 +0100 Subject: [PATCH] Fix setup.fish syntax (#49176) * Fix setup.fish syntax * Simplify conditional in share/spack/setup-env.fish Co-authored-by: Wouter Deconinck --------- Co-authored-by: Wouter Deconinck --- share/spack/setup-env.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish index 76ec28cff03..a2a8d6734a0 100644 --- a/share/spack/setup-env.fish +++ b/share/spack/setup-env.fish @@ -788,7 +788,7 @@ end # set -l fish_version (string split '.' $FISH_VERSION) if test $fish_version[1] -gt 3 - or begin ; test $fish_version[1] -eq 3 and test $fish_version[2] -ge 2 ; end + or begin ; test $fish_version[1] -eq 3 ; and test $fish_version[2] -ge 2 ; end source $sp_share_dir/spack-completion.fish end