Closed GRiMe2D closed 7 years ago
Updating zsh from brew somehow breaks this
Need to run chsh
again
Related https://github.com/robbyrussell/oh-my-zsh/issues/630
I currently have this problem and while it just occurred when starting zsh inside zsh. Removing and installing it again with brew made it worse so that now i always get tho script lines printed before the shell is ready. Everything works as far as i can tell, but its kinda annoying. What else beside reinstalling with brew can be done to maybe solve that problem?
Run zsh -xvic 'exit' &>~/omz-debug.log
and post the generated file as a private gist.
thx, but i got it solved with the help of some other threads, but good to have that command ready should that happen again :)
What was the culprit?
@kakulukia what did you do to fix this?
Try chsh -s /bin/zsh - in my instance, I was running a different version of zsh, not the one inside /bin/zsh
What was the culprit?
If only i knew, but this fixed it:
compaudit | sudo xargs chmod g-w
compaudit | sudo xargs chown root
sudo rm ~/.zcompdump*
compinit
I have the same issue.
I have laptop with limited privileges, Also I am behind proxy. I have run installation command with wget and everything went well except the famouse error of permissions for directories and asked me to skip with a variable set to true in zshrc. After setting that variable and reopening iterm2, I now the this issue listed being poured into terminal and no auto completion working.
Right now, I have added clear right after source command in zshrc. Also am using compinit then 'y' to start autocomplete in iterm.
This happened to me when root
owned the ~/.oh-my-zsh
folder (my bad).
I did sudo chown -R $(whoami) ~/.oh-my-zsh
and then source .zshrc
, which fixed the issue. No source code printed from source $ZSH/oh-my-zsh.sh
in the .zshrc
file and autocomplete now works.
This is what I see when Terminal launches
cd
mv
auto-compilation is broken, doesn't list files in current directory Tried to upgrade, no luck.zshrc:
System: OSX El Capitan 10.11.6 (15G31)