Tab Suggestions are not working in oh-my-zsh theme
After installing oh-my-zsh theme, sometimes Tab completion do not works. If this is the case with you, follow the below steps:
- First open the oh-my-zsh.sh file in editor.
vim ~/.oh-my-zsh/oh-my-zsh.sh - Now find the 14th line in this file with below content:
:${ZSH_DISABLE_COMPFIX:=true} - Change the value to false from true, like below and save the file.
:${ZSH_DISABLE_COMPFIX:=false} - Now execute below command:
source ~/.zshrc - Restart your terminal, you must seen some directories that are not secure. Secure them using below command:
sudo chmod 755 <insecure_directory_name> - Again open the oh-my-zsh.sh file, and turn the value to true from false and save the file.
:${ZSH_DISABLE_COMPFIX:=true} - execute below command again:
source ~/.zshrc
Now, your problem is solved. Tab suggestions are working normal.
If after logout from zsh and again login into it, causes the same problem then keep the value false only in 14th line of oh-my-zsh.sh and source the .zshrc file. Your problem will be solved permanently.
If after logout from zsh and again login into it, causes the same problem then keep the value false only in 14th line of oh-my-zsh.sh and source the .zshrc file. Your problem will be solved permanently.
it works for me! Thanks!
ReplyDelete