The shell that I normally use is zsh. I have several aliases to enable color in some programs such as ls and grep. I've also set my custom path so that I can execute programs in non-standard place (such as in ~/bin/).I won't change root's shell to zsh, but I would like to share these setting so that root can have it as well. I find out that zsh is not sourcing /etc/profile. I can source it in /etc/zsh/zprofile, but I would like some other more proper way.
Share aliases and PATH setting between zsh and bash
shell;bash;zsh;path;alias
I'd create a file /etc/commonprofile and source it in both /etc/profile and /etc/zsh/zprofile. This gives you the opportunity to share common settings and still use bash respectively zsh specific settings and syntax in /etc/profile respectively zprofile.