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

Cumbersome history usage - suggesting node.js-style history autocompletion (feature request/enhancement) #769

Open
AZBosakov opened this issue Nov 19, 2023 · 1 comment

Comments

@AZBosakov
Copy link

At present, history usage is often more verbose than the line I want to replay. I have to:

  1. history --grep ...
  2. history -s N --replay

In the interactive node shell, you can start typing a line, and on Up/Down it shows only the history lines that start with the typed string. Implementing such history filter in psysh would very convenient.

@bobthecow
Copy link
Owner

interactive functionality like this is mostly implemented by readline or libedit, which psysh uses for input under the hood. the history command in psysh is a convenience utility on top of readline.

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

No branches or pull requests

2 participants