Homebrew has a tendency to add a duplicate entry to the PATH. This bit of line noise de-dupes the PATH variable. Keeps the first appearance, and handles paths with trailing slashes:
1 min read
Homebrew has a tendency to add a duplicate entry to the PATH. This bit of line noise de-dupes the PATH variable. Keeps the first appearance, and handles paths with trailing slashes: