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
..
2022-03-12 00:21:13 +08:00
2023-06-05 18:26:13 +02:00
2024-04-20 17:05:46 +02:00
2024-04-23 19:36:11 +02:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2023-11-18 18:27:25 -08:00
2023-01-09 20:33:37 +01:00
2024-04-15 08:31:16 +02:00
2023-02-28 20:49:11 +01:00
2022-10-19 20:10:26 +02:00
2024-01-30 20:12:56 +01:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2023-11-22 18:42:34 +01:00
2024-01-02 21:54:07 +01:00
2022-10-26 12:15:02 -05:00
2022-03-12 00:21:13 +08:00
2023-01-09 20:33:37 +01:00
2022-09-17 21:31:06 +08:00
2022-03-12 00:21:13 +08:00