I have installed zsh
and I am using Oh My ZSH plugins. Everything works fine, but when I become a root user, it changes to the default zsh theme.
What should I do to make the Oh My ZSH configuration as the default zsh
for all users including root
?
I have tried using the chsh -s /bin/zsh root
That gave me zsh
but not oh_my_zsh
I also tried cp -R /home/user/.zshrc /root/.zshrc
ing to get oh_my_zsh
for root, but nothing worked.
(I don't need zsh
but I need oh_my_zsh
for all the user in the system)
cFINNY
's answer on stackoverflow.com/a/42193058/1408600 is what you need. I've done that for months on servers i managed. It works for root and all users