From: Jer Noble Date: Tue, 2 Jun 2020 16:42:43 +0000 (-0700) Subject: Add .zshenv X-Git-Url: http://105106.c2e0p.group/dotfiles.git/commitdiff_plain/91472a5c8a7df18b103566cc62fadaa397b115da?hp=98aab03bace961139f1be01c3ce8a30298f87d3a Add .zshenv --- diff --git a/Makefile b/Makefile index 7970d7c..5705ddd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DOTFILES := $(shell pwd) -all: ~/.aliases ~/.bash_login ~/.ssh/ssh_config ~/.vimrc ~/.zlogin ~/.lldbinit +all: ~/.aliases ~/.bash_login ~/.ssh/ssh_config ~/.vimrc ~/.zlogin ~/.lldbinit ~/.zshenv ~/.aliases: $(DOTFILES)/aliases ln -fs $^ $@ ~/.bash_login: $(DOTFILES)/bash_login @@ -9,7 +9,9 @@ all: ~/.aliases ~/.bash_login ~/.ssh/ssh_config ~/.vimrc ~/.zlogin ~/.lldbinit ln -fs $^ $@ ~/.vimrc: $(DOTFILES)/vimrc ln -fs $^ $@ +~/.zshenv: $(DOTFILES)/zsh_env + ln -fs $^ $@ ~/.zlogin: $(DOTFILES)/zsh_login ln -fs $^ $@ ~/.lldbinit: $(DOTFILES)/lldbinit - ln -fs $^ $@ \ No newline at end of file + ln -fs $^ $@ diff --git a/zsh_env b/zsh_env new file mode 100644 index 0000000..ad90be0 --- /dev/null +++ b/zsh_env @@ -0,0 +1,7 @@ +PATH=~/bin:$PATH:/usr/local/bin + +if [[ -d ~/homebrew/bin ]]; then + PATH=$PATH:~/homebrew/bin +fi + +