mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

Does not find command with a sub-command

Open screendriver opened this issue 5 years ago • 4 comments

I don't know how I should write the issue title but if you have something like this in your history

$ foo bar baz

and you open McFly and type in foo baz it doesn't find the entry. It only finds it when I enter foo bar. Is this related to #74 ?

screendriver avatar Aug 17 '20 06:08 screendriver

Hey Christian, you’re correct, McFly doesn’t currently do tokenization like that. You can add a % between words though: foo%baz

On Sun, Aug 16, 2020 at 11:07 PM Christian Rackerseder < [email protected]> wrote:

I don't know how I should write the issue title but if you have something like this in your history

$ foo bar baz

and you open McFly and type in foo baz it doesn't find the entry. It only finds it when I enter foo bar. Is this related to #74 https://github.com/cantino/mcfly/issues/74 ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cantino/mcfly/issues/97, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO6YNQPUL2X4IERCNAY3SBDCI5ANCNFSM4QBI7G5A .

cantino avatar Aug 17 '20 17:08 cantino

Ah! tokenization was the word I was looking for 😉

Then I will do a %. Are there any plans to do that by default?

screendriver avatar Aug 18 '20 09:08 screendriver

Not currently, but I'd gladly take pull requests if someone wants to tackle it :)

cantino avatar Aug 20 '20 18:08 cantino