Fix setting dotfiles bin path
This commit is contained in:
parent
f8be54b011
commit
0b3793e194
|
@ -3,5 +3,5 @@
|
||||||
LOCAL_BIN="$HOME/.local/bin"
|
LOCAL_BIN="$HOME/.local/bin"
|
||||||
echo $PATH | grep -i "$LOCAL_BIN" - > /dev/null || export PATH=$PATH:$LOCAL_BIN
|
echo $PATH | grep -i "$LOCAL_BIN" - > /dev/null || export PATH=$PATH:$LOCAL_BIN
|
||||||
|
|
||||||
DOTFILES_BIN="$(dirname $(readlink -f $0))/bin"
|
DOTFILES_BIN="$(dirname $(dirname $(readlink -f $0)))/bin"
|
||||||
echo $PATH | grep -i "$DOTFILES_BIN" - > /dev/null || export PATH=$PATH:$DOTFILES_BIN
|
echo $PATH | grep -i "$DOTFILES_BIN" - > /dev/null || export PATH=$PATH:$DOTFILES_BIN
|
||||||
|
|
Loading…
Reference in a new issue