# Persist aliases and other configuration in Fish Shell

> Learn how to make Fish shell aliases and configuration persist across reboots by adding them to your ~/.config/fish/config.fish file.

Author: Flavio Copes | Published: 2023-02-06 | Canonical: https://flaviocopes.com/persist-aliases-and-other-configuration-in-fish-shell/

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`](https://github.com/ogham/exa) and `cat` to be an alias of [`bat`](https://github.com/sharkdp/bat):

![Fish config file showing aliases for ll, gs, and other commands, with workflow steps to edit, save, and reload configuration](https://flaviocopes.com/images/persist-aliases-and-other-configuration-in-fish-shell/1.webp)
