Short and sweet: Is there a way to accomplish what --noprofile and --norc bash switches do using zsh?

zsh -f
zsh --no-rcs

The system-wide zshenv file (usually /etc/zshenv or /etc/zsh/zshenv or /usr/local/lib/zsh/zshenv) is always read, the only way to avoid this is to edit the zsh binary or patch the source.

| improve this answer | |
  • Perfect. Thank you! I'm using zsh for shell, and when I start BitNami cloud tools, it opens a new shell. Since it's the user .zshrc that causes some trouble, --no-rcs will take care of that. – Ville Sep 12 '13 at 3:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.