Skip to content

Commit

Permalink
dotnet: remove bogus PATH entry containing tilde
Browse files Browse the repository at this point in the history
Ansible(-lint) does not like such entries.

dotnet/sdk#23165
  • Loading branch information
agross committed Dec 4, 2022
1 parent 8b833ad commit 19fd3f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dotnet/path.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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]}]=()

0 comments on commit 19fd3f4

Please sign in to comment.