Fabian Boehm 69583f3030
Allow restricting abbreviations to specific commands (#10452)
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
2024-04-24 18:09:04 +02:00
..
2024-04-23 21:59:40 +02:00
2023-11-15 17:58:42 +01:00
2020-11-22 14:39:48 +01:00
2024-04-12 11:41:40 +02:00
2024-04-02 14:35:16 +02:00
2024-04-02 22:41:54 +02:00
2020-11-22 14:39:48 +01:00
2024-04-02 22:41:54 +02:00
2020-11-22 14:39:48 +01:00
2023-06-01 18:20:19 +02:00
2024-04-23 21:59:40 +02:00
2024-04-23 19:40:49 +02:00
2023-06-01 18:20:19 +02:00