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

introduce LastCommand variant for parse bang result #445

Merged
merged 2 commits into from Jun 18, 2022

Conversation

WindSoilder
Copy link
Contributor

Sadly find the fix in #444 breaks !! in history search menu... Because !! will select the item with index 1.

To avoid this, introduce ParseAction::LastCommand for !!, then reedline can handle !! and !3 better.

@fdncred
Copy link
Collaborator

fdncred commented Jun 18, 2022

thanks

@fdncred fdncred merged commit d57867a into nushell:main Jun 18, 2022
@WindSoilder WindSoilder deleted the last_command branch June 19, 2022 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants