[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nearly offtopic] Feature that makes easy to locate to similar previ
From: |
Stephen Montgomery-Smith |
Subject: |
Re: [nearly offtopic] Feature that makes easy to locate to similar previous commands |
Date: |
Thu, 07 Mar 2013 19:49:48 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 |
On 03/07/2013 07:42 PM, Pedro wrote:
> Hi,
>
> Octave have a feature that when you put some commands, for example:
>
> version
> pkg list
> ls
>
> And if now you press "v" and later, the "up" arrow, you go to the
> first occurrence that start with "v", so this is "version" (more up
> arrow goes to more terms that start with "v").
> This is great.
> My question is if I can make this with simple bash commandline,
> editing something in .bashrc ?
http://stackoverflow.com/questions/1030182/how-do-i-change-bash-history-completion-to-complete-whats-already-on-the-line