Add $HOME/.dotfiles to path
This commit is contained in:
parent
8cb7895bdf
commit
84de02484f
6
.zshenv
6
.zshenv
@ -22,6 +22,12 @@ then
|
||||
export PATH="$PATH:$HOME/.bin"
|
||||
fi
|
||||
|
||||
# Add $HOME/.dotfiles to PATH if it exists and is not already in the path
|
||||
if [[ -d "$HOME/.dotfiles" ]] && ! grep -q ":$HOME"'/\.dotfiles\(:\|$\)' <<< "$PATH"
|
||||
then
|
||||
export PATH="$PATH:$HOME/.dotfiles"
|
||||
fi
|
||||
|
||||
# Set temporary files locations
|
||||
if [[ ! -d "$TMPDIR" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user