fish-abbreviation-tips
fish-abbreviation-tips copied to clipboard
Regex matching
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 }}"