Re: Re: funny text in bash history

2014-09-28 Thread Clive Standbridge
> I do A LOT of computing from terminals... and use arrow up and down
> ALL THE TIME.. Autocomplete would so ROCK!

"Tab completion" is the key phrase. 

Assuming you use bash: When you want to complete a command or
filename, press the Tab key. If the choices are ambiguous, you'll need
to press Tab again.

You can fine-tune the tab-completion behaviour with variables in
~/.inputrc - run "man bash" and search for "Readline Variables" for
details.


That's just for starters. Install the bash-completion package,
un-comment the code in ~/.bashrc following the "enable programmable
completion features" comment, and start a new shell.

Now when you start typing and press Tab, it will offer all sorts of
completions in context, e.g. command options, hostnames, and more.

Rock on!


-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140928170410.GA32403@rimmer.localdomain



Re: Re: funny text in bash history

2014-09-29 Thread Stephen Allen
On Sun, Sep 28, 2014 at 06:04:18PM +0100, Clive Standbridge wrote:

> That's just for starters. Install the bash-completion package,
> un-comment the code in ~/.bashrc following the "enable programmable
> completion features" comment, and start a new shell.
> 
> Now when you start typing and press Tab, it will offer all sorts of
> completions in context, e.g. command options, hostnames, and more.
> 
> Rock on!
---end quoted text---

Hey, Clive thats pretty handy, thanks!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140929213424.GB17517@Jessie