summary refs log tree commit diff
path: root/pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch')
-rw-r--r--pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch b/pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch
index 5e4569f0a15..6eed3515212 100644
--- a/pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch
+++ b/pkgs/shells/fish/fish-foreign-env/suppress-harmless-warnings.patch
@@ -14,7 +14,7 @@ index 34a25e3..3d94135 100644
  
 -        set -g -x $key $value
 +        if contains $key $ignore
-+          set -g -x $key $value ^/dev/null
++          set -g -x $key $value 2>/dev/null
 +        else
 +          set -g -x $key $value
 +        end