Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

With fish-shell, if I type a few words of a ran command, I will get a prompt of the whole command line. Then I just use Right Arrow key to complete the whole line.

But on other things, fish-shell sucks. So how could I do this prompt thing in bash?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

There is no way for bash to automatically fill in the command line from history. Performing reverse-search-history, bound to CtrlR by default, will allow you to type in part of a command which bash will then attempt to find in history. Performing it while doing a search will find older matches.

share|improve this answer
I see. Alright then. Thank you. – Magicloud Oct 15 '13 at 5:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.