Closed sogartar closed 2 years ago
Is ~/.profile
standard? None of my systems have it. How about this?
export PATH=$HOME/.local/bin:$PATH
Cheers, Chris
I think it is pretty standard. Whether it will add ~/.local/bin
to PATH is another matter. On Ubuntu ~/.profile
adds ~/.local/bin
to PATH only if exists.
I changed it to what you suggested.
Thanks. LGTM
The CMake installation may be the first to create ~/.local/bin, so it would not be in PATH without logging in again. This change makes sure that it is added to PATH in the same shell session.