Skip to content

"New iTerm2 Tab Here" and "New iTerm2 Window Here" set $ZDOTDIR to /Applications/iTerm.app/Contents and don't run my zsh startup files

Thanks for filing an issue! Please answer the questions below so I can help you.

PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.

Detailed steps to reproduce the problem:

  1. Right-click a file or folder in Finder
  2. Select "Services", then either "New iTerm Tab Here" or "New iTerm Window Here"
  3. Type echo $ZDOTDIR in the resulting zsh

What happened:

Output is /Applications/iTerm.app/Contents. No customizations are run from the user's .zshenv, .zprofile, .zshrc, or .zlogin files

What should have happened:

Output should be blank unless the user has changed it somewhere else Aliases, environment variables, etc., are set from user's zsh startup files

Edited by Mark Gardner