Ohmyzsh: .zshenv not being sourced

Created on 16 Mar 2016  ยท  1Comment  ยท  Source: ohmyzsh/ohmyzsh

I created ~/.zshenv and moved some stuff from from ~/.zshrc, but it appears that ~/.zshenv is not being sourced.

Where is ~/.zshenv sourced from? How can I get oh-my-zsh (or zsh) to source it?

Most helpful comment

First, look at how zsh loads startup files. Then, try putting a canary statement in your .zshenv file (like an echo zshenv loaded command) to see if it's really loading it or not.

If it turns out that it is loading the file, post both your zshenv and zshrc files to see what exactly is not working.

>All comments

First, look at how zsh loads startup files. Then, try putting a canary statement in your .zshenv file (like an echo zshenv loaded command) to see if it's really loading it or not.

If it turns out that it is loading the file, post both your zshenv and zshrc files to see what exactly is not working.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TadorHead picture TadorHead  ยท  3Comments

samsondav picture samsondav  ยท  3Comments

leongaban picture leongaban  ยท  3Comments

nimmoadam picture nimmoadam  ยท  3Comments

jaredmoody picture jaredmoody  ยท  3Comments