What to do if /home/danil/.zshrc:1: command not found: # is displayed before starting the terminal

Hi and welcome,

Something in your .zshrc is either malformed or trying to run a nonexistent command.

Whats there?

cat ~/.zshrc

PS.

Also, here is a guide including how to format code, etc.

1 Like