I was using tmux and zsh for some time, but today after entering tmux, I got a strange error, which looks as follows:
zsh-newuser-install: startup files exist, aborting. Use the argument -f if you want to force the function to be run again.
and then my zsh config and theme are not loaded. I don't really know why it stopped working. I tried to google any solution, but with no luck.
You can find my system configurations here: https://github.com/pwittchen/dotfiles
I'm using Ubuntu 16.04.
I will appreciate any kind of help.
I've seen someone has similar problem here: https://superuser.com/questions/1217320/zsh-crash-when-starting-inside-tmux-with-zsh-newuser-install-startup-files-exi#
but there's no solution for that.
It started working fine again.
In the meantime, I tried reinstalling tmux, but it didn't help. The next day, after system restart it works fine again. I haven't changed anything in my setup, so I don't know the source of that problem and why it's fixed now.