]> 105106.c2e0p.group Git - dotfiles.git/commitdiff
Add homebrew path to zsh_login
authorJer Noble <[email protected]>
Fri, 9 Sep 2016 17:26:56 +0000 (10:26 -0700)
committerJer Noble <[email protected]>
Fri, 9 Sep 2016 17:27:50 +0000 (10:27 -0700)
zsh_login

index 459dfc814af2d87e4a23f6e3be82471e6fc1a77a..8f4f2fb16518ed8d35a6a46f31546e605b196ab4 100644 (file)
--- a/zsh_login
+++ b/zsh_login
@@ -36,12 +36,21 @@ setopt extended_glob
 PS1=$'%(?.😊.😡)  %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
 PATH=~/bin:$PATH
 
+if [[ -d ~/homebrew/bin ]]; then
+       PATH=$PATH:~/homebrew/bin
+fi
+
 HISTFILE=~/.zsh_history
 HISTSIZE=5000
 SAVEHIST=1000
 WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
 
 export MANPATH=~/man:$MANPATH
+
+if [[ -d ~/homebrew/share/man ]]; then
+       MANPATH=$MANPATH:~/homebrew/share/man
+fi
+
 export EDITOR=/usr/bin/vim
 export LSCOLORS=gxfxcxdxbxegedabagacad