Skip to content

Env param too many duplicates

Problem

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

Sol

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

set PATH xxx:$PATH

Instead, add quotes:

set PATH "xxx:$PATH"