mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
fix: empty candidate
This commit is contained in:
parent
0177086dcc
commit
0e4e5d3714
2 changed files with 6 additions and 1 deletions
|
|
@ -69,10 +69,12 @@ replace,
|
|||
pattern = [
|
||||
"did not match any file"
|
||||
]
|
||||
# alternatively `git checkout {{typo[2]({{shell(git branch | sed 's/^*//')}})}}`
|
||||
suggest = [
|
||||
'''
|
||||
#[cmd_contains(checkout)]
|
||||
git checkout {{typo[2]({{shell(git branch)}})}} '''
|
||||
git branch {{command[2]}} && \
|
||||
git checkout {{command[2]}} '''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue