🎨 add .local/bin to path (only if exists)

This commit is contained in:
dannydannydanny 2022-06-13 14:51:03 +02:00
parent 39363844d1
commit 4b20f9d137

7
.zshrc
View file

@ -115,5 +115,8 @@ bindkey -v
# make brew accessible # make brew accessible
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# add lvim to path # set PATH so it includes user's private ~/.local/bin if it exists
export PATH=.local/bin:$PATH # lvim is installed to this directory (at least on ubuntu)
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi