How to?

env-param-too-many-duplicates

Mar 18, 2024
softwares-and-toolsfish
1 Minutes
21 Words
This article was last updated on May 27, 2026 and some of the information may no longer be applicable due to the passage of time.

Problem

When echo $PATH, many paths appears for tens of times.

Sol

In config.fish or so, don’t use:

1
set PATH xxx:$PATH

Instead, add quotes:

1
set PATH "xxx:$PATH"
Article title:env-param-too-many-duplicates
Article author:Julyfun
Release time:Mar 18, 2024
Copyright 2026
Sitemap