From 91472a5c8a7df18b103566cc62fadaa397b115da Mon Sep 17 00:00:00 2001 From: Jer Noble Date: Tue, 2 Jun 2020 09:42:43 -0700 Subject: [PATCH 1/1] Add .zshenv --- Makefile | 6 ++++-- zsh_env | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 zsh_env 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 + + -- 2.40.1