I'm trying to become the root on my terminal with sudo -i command, but the system display sudo: /usr/local/bin/fish: command not found. I tried to set the fish shell as default, but I got a problem. Could anyone be able to tell me what I could do to fix the problem?
I tried to set fish shell as default with first sudo echo /usr/local/bin/fish >> /etc/shells and after chsh -s /usr/local/bin/fish. However, it looks like I have more than one usr/local/bin/fish file in /usr/shells. (In fact, I followed from there)
Thanks in advance!
P.S. I know now the file is not usr/local/bin/fish, but usr/local/bin. I've succeeded to set fish shell as default, but I'm still having the sudo -i problem.