zshenv 712 B

123456789101112131415161718192021222324
  1. #
  2. # /etc/zshenv is sourced on all invocations of the
  3. # shell, unless the -f option is set. It should
  4. # contain commands to set the command search path,
  5. # plus other important environment variables.
  6. # .zshenv should not contain commands that produce
  7. # output or assume the shell is attached to a tty.
  8. #
  9. export EDITOR='vim'
  10. ## paths
  11. export PATH=$HOME/bin:/usr/local/bin:$PATH # Take user executables before the system's.
  12. export PATH=$HOME/dotfiles/powerline/powerline/scripts:$PATH
  13. export PATH=$HOME/.rvm/bin:$PATH
  14. # Add /usr/local manpages
  15. if [[ -d /usr/local/share/man ]];then
  16. MANPATH=/usr/local/share/man:$MANPATH
  17. fi
  18. if [[ -d /usr/local/man ]];then
  19. MANPATH=/usr/local/man:$MANPATH
  20. fi
  21. export MANPATH