Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

[Feature][Idea] Parsing user command history for specific commands #5

Open
mnowotnik opened this issue Oct 23, 2019 · 0 comments
Open
Labels
enhancement New feature or request idea

Comments

@mnowotnik
Copy link
Owner

A user could be able to activate history parsing for certain commands to provide him with
completion of values for parameters in the current command.
For example:

curl -H %%<TAB>

would show the list of every header in user's history.
Drawbacks:

  • could be a cpu-intensive operation, but it's unlikely,
  • history has a limit
  • using the same prefix for command completion and history-based command completion can be confusing for a user
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request idea
Projects
None yet
Development

No branches or pull requests

1 participant