From 19fd3f449e2ed787ced92d37ea5b35659d3f5b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Gro=C3=9F?= Date: Sun, 4 Dec 2022 18:57:27 +0100 Subject: [PATCH] dotnet: remove bogus PATH entry containing tilde Ansible(-lint) does not like such entries. https://github.com/dotnet/sdk/issues/23165 --- dotnet/path.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotnet/path.zsh b/dotnet/path.zsh index e3ed2ed7..358966c0 100644 --- a/dotnet/path.zsh +++ b/dotnet/path.zsh @@ -4,3 +4,6 @@ # https://github.com/dotnet/cli/issues/9321 path=($HOME/.dotnet/tools $path) + +# Also remove the bogus entry as tilde is ignored during path expansion. +path[${path[(ie)~/.dotnet/tools]}]=()