fish-abbreviation-tips icon indicating copy to clipboard operation
fish-abbreviation-tips copied to clipboard

Regex matching

Open simonmandlik opened this issue 2 years ago ā€¢ 0 comments

Question

If the default regex tries to match the first three words besides other things, why the following doesn't work for me?

~
āÆ git pull origin
fatal: not a git repository (or any of the parent directories): .git

ā”€ā”€ā”€ā”€ā”€
Hint: gll => git pull origin

~
āÆ git pull origin master
fatal: not a git repository (or any of the parent directories): .git

Considerations

I have changed nothing in config.fish, apart from

set -x ABBR_TIPS_PROMPT "\nā”€ā”€ā”€ā”€ā”€\nHint: \e[1m{{ .abbr }}\e[0m => {{ .cmd }}"

simonmandlik avatar Jun 20 '22 21:06 simonmandlik