I would like to define some aliases in fish. Apparently it should be possible to define them in
~/.config/fish/functions
but they don\'t g
If you add an abbr instead of an alias you'll get better auto-complete. In fish abbr more closely matches the behavior of a bash alias.
abbr
alias
abbr -a gco git checkout
Will -add a new abbreviation gco that expands to git checkout.
-a
gco
git checkout
Here's a video demo of the resulting auto-complete features