]> 105106.c2e0p.group Git - dotfiles.git/commitdiff
Add .zshenv
authorJer Noble <[email protected]>
Tue, 2 Jun 2020 16:42:43 +0000 (09:42 -0700)
committerJer Noble <[email protected]>
Tue, 2 Jun 2020 16:42:43 +0000 (09:42 -0700)
Makefile
zsh_env [new file with mode: 0644]

index 7970d7c02e3e9bf0c82be8789bedd7d8439b026d..5705ddd37e1851cc429c52dea5ab18bb387886a0 100644 (file)
--- 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 (file)
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
+
+