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-03-24 16:33:35 +01:00
2024-01-21 19:12:33 -08:00
2024-04-20 13:34:08 +02:00
2024-04-20 13:34:08 +02:00
2024-04-02 21:33:54 +02:00
2024-01-13 08:52:54 +01:00
2024-03-24 16:33:35 +01:00
2024-01-13 03:58:33 +01:00
2024-04-21 14:35:13 +02:00
2024-01-13 03:58:33 +01:00
2024-04-20 13:34:08 +02:00
2024-01-13 08:52:54 +01:00
2024-04-02 14:35:16 +02:00
2024-02-22 20:10:16 +01:00
2024-02-01 22:15:24 +01:00
2024-02-01 22:15:24 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 03:58:33 +01:00
2024-01-28 21:45:14 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 03:58:33 +01:00
2024-04-21 14:35:13 +02:00
2024-04-07 09:59:09 +02:00
2024-04-07 13:32:48 +02:00
2024-03-09 13:49:25 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 08:52:54 +01:00
2024-04-21 14:35:13 +02:00
2024-02-11 11:40:27 -08:00
2024-01-13 03:58:33 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 03:58:33 +01:00
2024-01-13 08:52:54 +01:00
2024-03-07 18:35:41 -06:00