[Gllug] FreeBSD like command line history
Bruce Richardson
itsbruce at uklinux.net
Thu Jan 29 10:49:13 UTC 2004
On Thu, Jan 29, 2004 at 10:28:25AM -0500, cperera wrote:
> hi,
> i was searching for FreeBSD like command line history finally i found
> this ..
> Add following lines to /etc/inputrc
>
> "\M-[A":history-search-backward
> "\M-[B":history-search-forward
> then type first 2 or 3 letters of the command you typed earlier and press arrow keys
>
> tell how do u feel with this :-)
Well, unless you intend to impose this on all users, you should add it
to $HOME/.inputrc
Personally, my ~/.inputrc file always has 'set editing-mode vi'.
--
Bruce
A problem shared brings the consolation that someone else is now
feeling as miserable as you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040129/80ccb765/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list