Persist aliases and other configuration in Fish Shell
By Flavio Copes
Learn how to make Fish shell aliases and configuration persist across reboots by adding them to your ~/.config/fish/config.fish file.
~~~
Note to self: whenever making aliases in Fish (or any other config!), add them to the ~/.config/fish/config.fish file.
So they will be persisted after a system reboot.
For example I set ls to be an alias of exa and cat to be an alias of bat:

~~~
Related posts about cli: