create .zprofile

This commit is contained in:
deepend-tildeclub
2022-12-22 22:40:53 -07:00
committed by GitHub
parent 49cb6a82ec
commit 4c67f2e3e9

12
.zprofile Normal file
View File

@@ -0,0 +1,12 @@
# this file is installed as ~/.zprofile for newly created users
# prepend ~/.local/bin and ~/bin to $PATH unless it is already there
if ! [[ "$PATH" =~ "$HOME/bin" ]]
then
PATH="$HOME/bin:$PATH"
fi
if ! [[ "$PATH" =~ "$HOME/.local/bin:" ]]
then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH