macos – open terminal failed: not a terminal

Everytime I open a terminal, I get this error: open terminal failed: not a terminal
error
I tried to run ps to see what program could be the problem:

    PID TTY           TIME CMD
38282 ttys003    0:01.52 -zsh
38298 ttys003    0:00.01 -zsh
38740 ttys003    0:00.00 -zsh
38741 ttys003    0:00.00 -zsh
38743 ttys003    0:00.00 /Users/anako/.cache/gitstatus/gitstatusd-darwin-x86_64 -G v1.0.0 -s -1 -u -1 -d -1 -c -1 -m -1 -v FATAL -t 8
38746 ttys003    0:00.00 (zsh)
35876 ttys004    0:02.27 -zsh
35881 ttys004    0:00.02 -zsh
36349 ttys004    0:00.02 -zsh
36350 ttys004    0:00.01 -zsh
36352 ttys004    0:00.03 /Users/anako/.cache/gitstatus/gitstatusd-darwin-x86_64 -G v1.0.0 -s -1 -u -1 -d -1 -c -1 -m -1 -v FATAL -t 8
37800 ttys004    0:00.00 (zsh)

I have seen on other question that tmux does this error message but I don’t want to launch tmux at new terminal session and don’t remenber setting up tmux at all.

I’m using Iterm2 on macos catalina and it also happen on native terminal app so it’s not a problem with iterm.