dustin
/
zdotdir
Archived
1
0
Fork 0

zprofile: Add .zprofile and .zprofile.local

The `.zprofile` file is sourced by ZSH when the shell is run as a login
shell. The `.zprofile.local` file, if it exists, is sourced by the main
`.zprofile` script, and is the best place for unversioned per-machine
changes.
master
Dustin 2017-01-19 14:47:18 -06:00
parent fc8d0d0b84
commit fa73cd6482
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.zcompdump .zcompdump
.zprofile.local

6
.zprofile Normal file
View File

@ -0,0 +1,6 @@
typeset -U path
path[1,0]=~/.local/bin
if [[ -r ${ZDOTDIR:-${HOME}}/.zprofile.local ]]; then
. ${ZDOTDIR:-${HOME}}/.zprofile.local
fi