Remix.run Logo
▲ _ZeD_ an hour ago

well.. it's in zsh (and probably any other *sh) too

▲vbernat 31 minutes ago | parent [-]

In Zsh, you can set PATH with path=(~/.local/bin $path). There, it works as shell expansion works.

▲kccqzy 13 minutes ago | parent [-]

In fish, you can just do `fish_add_path ~/.local/bin`. Adding a directory to your PATH is so common that there’s a function to do it. And it takes effect immediately in all running instances of the shell.