I would like to use the abbreviations feature of the fish shell, especially for the known bash variable
!! or aliases to common git commands. I know that abbreviations can be added like in the following snippet:
abbr -a gco git checkout
I also know that this setting is persisted in a file located at
.config/fish/fishd.host, but this file is also saying that it should not be edited, since changes might be lost (because the file is auto generated).
So my question is how to add this abbreviations in a config file, because I want to put my dotfiles in a git repository. And if I use these dotfiles on a separate machine I don't want to execute all these
abbr command again.