Fish

I can't remember why now, but at some point I tried fish and zsh on Mac and found fish works better there.


Aliases

Aliases are created by simply creating a file in ~/.config/fish/functins

Example mkcd

function mkcd
    mkdir -p $argv
    and cd $argv
end

or you can use more typical alias syntax

alias p3="python3"
funcsave p3

Installation

sudo apt install fish
# oh-my-fish
curl -L https://get.oh-my.fish | fish

OMF Themes

# install robbyrussell theme
omf install robbyrussell
 
# set theme
omf theme robbyrussell