zshenv 566 B

1234567891011121314151617
  1. # The order in, and conditions of, which `zsh` config files are sourced:
  2. #
  3. # .zshenv: (always)
  4. # .zprofile: [[ -o login ]]
  5. # .zshrc: [[ -o interactive ]]
  6. # .zlogin: [[ -o login ]]
  7. #
  8. # As seen, `zshenv` is sourced on all invocations of the shell. It is useful for
  9. # setting variables that should be available to other programs e.g. `PATH`,
  10. # `EDITOR`, `PAGER`, and generally not the place to put commands that produce
  11. # output or assume attachment to a tty/terminal.
  12. export EDITOR='vim'
  13. # Paths
  14. export PATH=$HOME/dotfiles/bin:$PATH
  15. export PATH=$HOME/.rvm/bin:$PATH