Open TwistingTwists opened 8 years ago
This looks like a new feature. Cool. I'll try to implement that.
A fair alternative can be using reverse search by Control + R
and passing it to keep
.
@OrkoHunter Should this be another option in keep new
or another command like keep addfromhist
?
There should be only one way to add commands, and let that be keep new
@Parth-Vader While taking input for a new command, how about displaying a list of options to select from? The options will be based from the shell history and would be in the form of a drop down. How about this?
I agree.
For now, the options could be 1) Add a new command 2) Add a command from history
How can I use commands from
~/.zsh_history
inkeep
?something like,
keep ssh from history
-- gives me option to choose from all the commands that havessh
in them (viagrep
?)