mirror of
https://github.com/tildeclub/tilde.etcskel.git
synced 2026-01-23 22:20:18 +00:00
create .zprofile
This commit is contained in:
committed by
GitHub
parent
49cb6a82ec
commit
4c67f2e3e9
12
.zprofile
Normal file
12
.zprofile
Normal 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
|
||||
Reference in New Issue
Block a user