mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 17:52:11 +08:00

This allows making something like ```fish abbr --add gc --position anywhere --command git back 'reset --hard HEAD^' ``` to expand "gc" to "reset --hard HEAD^", but only if the command is git (including "command git gc" or "and git gc"). Fixes #9411