Re:Fish Shell 3.2
by ComputerGuru on Monday March 01, 2021 @10:20AM
(#26303531)
Fwiw fish_add_path doesn’t fundamentally change anything, users do get confused between global and universal variables and how they interact with exported variables like PATH, so this just makes it friendlier.
[ Parent
| on HN ]
Re:Fish Shell 3.2
by SAI_Peregrinus on Monday March 01, 2021 @06:16PM
(#26309842)
It also helps prevent duplicate path entries. I'd written an "add_to_path_if_not_present" function, but "fish_add_path" should do the same thing. It's just convenience, but Fish is largely about convenience.