🎨 add .local/bin to path (only if exists)
This commit is contained in:
parent
39363844d1
commit
4b20f9d137
1 changed files with 5 additions and 2 deletions
7
.zshrc
7
.zshrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue