Skip to content

Could not start fs_event watcher in macos error #1585

Answered by alex-courtis
nishu-murmu asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like your non-login shell prints information. That is a Bad Idea. See "STARTUP/SHUTDOWN FILES" in man zsh.

.zshenv (non-login shell) should be minimal, setting only environment variables and non-interactive functions.

Everything else should go .zshrc (interactive shell) and .zprofile (login shell): aliases, interactive functions, prompts, __git_ps1, zle, tmux etc. etc.

Test:

zsh -c "echo nothingbutthis"
nothingbutthis

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nishu-murmu
Comment options

Answer selected by nishu-murmu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants