fish shell code example
Example 1: change default shell fish
> echo /usr/local/bin/fish | sudo tee -a /etc/shells
> chsh -s /usr/local/bin/fish
Example 2: where is fish shell installed ubuntu
# fish binary located either in:
usr/bin/fish
# or
usr/local/bin/fish
# or
/bin/fish