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

Extra callback when submitting the entry for formatting or expansion #311

Open
sholderbach opened this issue Feb 11, 2022 · 0 comments
Open
Labels
A-API Area: Changes to the consumer facing API enhancement New feature or request nushell/eq This issue/PR affects interactions of reedline with the engine-q nushell engine

Comments

@sholderbach
Copy link
Member

It would be splendid to have an optional hook to expand the entered text on submission via enter. Either to format the command (could be great for a nice history) and alternatively for expansions such as bash/posix style last command expansions !! !$ ^search^replace etc. (ref nushell/nushell#601)

@sholderbach sholderbach added enhancement New feature or request nushell/eq This issue/PR affects interactions of reedline with the engine-q nushell engine A-API Area: Changes to the consumer facing API labels Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-API Area: Changes to the consumer facing API enhancement New feature or request nushell/eq This issue/PR affects interactions of reedline with the engine-q nushell engine
Projects
None yet
Development

No branches or pull requests

1 participant