$ alias foo bar $ function foo --wraps bar --description 'alias foo=bar' bar $argv end
$ funcsave foo
there's also abbreviations like
$ abbr --add ll ls -lh
The killer feature over aliases is that a) you can edit them and b) you can define them instantaneously.
Did you type `git diff --cached` one time to many? Up arrow -> Ctrl+a -> "abbr gdc " <enter>
Bam. `gdc<space|enter>` now expands to that. It's there forever. And that's how you end up with 100+ abbreviations.
there's also abbreviations like
which expand as you type. ll won't end up in your history because it's expanded before that.