mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
feat: in-line shell evaluation
This commit is contained in:
parent
8ae71443d6
commit
b5f2f139e4
4 changed files with 19 additions and 3 deletions
|
|
@ -75,3 +75,14 @@ suggest = [
|
|||
git checkout {{typo[2]({{shell(git branch)}})}}
|
||||
'''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"current branch test has no upstream branch"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
#[cmd_contains(push)]
|
||||
git push --set-upstream origin {{shell(git rev-parse --abbrev-ref HEAD)}}
|
||||
'''
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue