create .zprofile
This commit is contained in:
parent
49cb6a82ec
commit
4c67f2e3e9
|
@ -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
|
Loading…
Reference in New Issue