Skip to content

Eshell history to include bash_history #1043

Answered by minad
ratnesh1729 asked this question in Q&A
Discussion options

You must be logged in to vote

consult-history accesses history variables, depending on context. Accessing the bash history is out of scope for Consult.

I came across this snippet from ivy - and I replaced ivy-read with consult--read. But now it shows all lines in one go. And as seen it wont include eshell history.

I suggest to use completing-read instead of consult--read here. In any case, make sure to use the arguments correctly. Read the manual and doc strings regarding that. Simply replacing ivy-read with consult--read won't fly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ratnesh1729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants