Set the local bin directory to ~/.local/bin instead of ~/bin
This commit is contained in:
parent
17e836ec36
commit
6af0ed1d87
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
BIN_PATH="$HOME/bin"
|
BIN_PATH="$HOME/.local/bin"
|
||||||
if [ -d "$BIN_PATH" ]; then
|
if [ -d "$BIN_PATH" ]; then
|
||||||
found=$(echo $PATH | tr ':' '\n' | grep -w "$BIN_PATH")
|
found=$(echo $PATH | tr ':' '\n' | grep -w "$BIN_PATH")
|
||||||
[ ! "$found" ] && export PATH="$BIN_PATH:$PATH"
|
[ ! "$found" ] && export PATH="$BIN_PATH:$PATH"
|
||||||
|
|
Loading…
Reference in a new issue