abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

custom shorthands: Support external commands #385

Open abhinav opened 1 month ago

abhinav commented 1 month ago

In the style of git aliases, we should have support for shorthands to be shell commands if prefixed by !, e.g.

git config spice.shorthand.foo '!gs br && gs bs'