Ix:
Does the string you type have to match the BEGINNING of the command line?
^R/^S will do incremental search but they will match any part of the line, not just the beginning. I couldn't find an interactive way to match the beginning in a search.
Just go through "man bash" (look for a section named "Searching" under "READLINE") to find all the details.
BTW - while looking for an answer for you I found that it's possible to interactively yank arguments from previous line to the current one. It's not the full power of "!" notation but for people who prefer a more visual feedback and are not already accustomed to the old way it might be a good compromise.
Ix:
Does the string you type have to match the BEGINNING of the command line?
^R/^S will do incremental search but they will match any part of the line, not just the beginning. I couldn't find an interactive way to match the beginning in a search.
Just go through "man bash" (look for a section named "Searching" under "READLINE") to find all the details.
BTW - while looking for an answer for you I found that it's possible to interactively yank arguments from previous line to the current one. It's not the full power of "!" notation but for people who prefer a more visual feedback and are not already accustomed to the old way it might be a good compromise.
Reply To This Comment