Persistent zsh + oh-my-zsh on Unraid
Ever since I switched to OSX, I have fallen in love with zsh. I use it wherever I can, however, Unraid poses a small challenge. Both root (/) and the root-home (/root/) are not permanent storage paths. They reside in ram and changes there are lost on reboot. You could use the Nerdpack for Unraid to install zsh, set the shell for root to /bin/zsh
and call it a day. This has two flaws:
- you will have to install and configure oh-my-zsh every time you reboot
- if zsh fails to install on reboot, you won’t have a valid shell and you can’t ssh into the machine