13
6
Whenever I run sudo su
from my normal zsh
(which uses the oh-my-zsh framework), I'm forced to use the old Bourne shell (sh
) by default (obviously; this is standard behaviour on most *nix-like systems). If I run zsh
from within sh
after running sudo su
, I get the Z shell, but without the improvements from oh-my-zsh.
Is there any way to change the shell sudo su
launches to zsh
? If so, is it possible to also have that instance of zsh
launch using oh-my-zsh
?
I'm using OS X 10.8.4.
This is what I would think the question wanted. It's definitely what worked for me; thank you so much! edit i see what he wanted now - I don't think this is what he wanted, so I can't fairly upvote it for this question, but I think you deserve a medal anyway. You had the answer to my question! – Wyatt8740 – 2014-01-31T22:31:09.557