Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex matching #25

Open
simonmandlik opened this issue Jun 20, 2022 · 0 comments
Open

Regex matching #25

simonmandlik opened this issue Jun 20, 2022 · 0 comments
Labels
question Further information is requested

Comments

@simonmandlik
Copy link

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 simonmandlik added the question Further information is requested label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant