LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2004, 08:45 PM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
apt-get tab completion


Now, I remember setting tab completion up on apt-get on my old system, but since I'm getting a new hd and such, I decided to reorganize my system. Anyways. Does anyone remember how to do this? It's so much nicer to be able to use tab completion with apt-get.

Thanks.
 
Old 06-11-2004, 03:05 PM   #2
mandingo
LQ Newbie
 
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6

Rep: Reputation: 0
I want to say I was able to do this using zsh somehow. I had it setup too, but that was a LONG time ago.
 
Old 06-11-2004, 03:06 PM   #3
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
You know... I even have it enabled on my router box. Any ideas where to look for it?
Come on. This is soooo much more comfortable and well possible. People have got to be using this.

Thanks.
 
Old 06-11-2004, 03:14 PM   #4
mandingo
LQ Newbie
 
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6

Rep: Reputation: 0
a little googling found this:

Quote:
In Debian, the Bash package comes with a totally awesome collection of customized tab completions. However, they are not turned on by default. To turn them on in a single account, you can put the line "source etc/bash_completion" in your ~.bashrc file, or you can turn them on globally by editing the /etc/bash.bashrc file and uncommenting the relevant lines.

You'll get magic smart tab completion for cd, apt-get, ssh, mplayer, and numerous other programs. You'll wonder how you ever did without it. 'apt-get' tab completion in particular rocks like nothing else. For example, if you type 'apt-get remove x[TAB]' you'll get a complete list of installed packages starting with x. When installing, you'll get a list of available but not yet installed packages. You'll likely not be able to stand using apt-get without tab completion anymore.
http://www.archlug.org/kwiki/CommandLineKwikis
 
Old 06-11-2004, 03:56 PM   #5
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Thanks! I haven't tried it yet. But still.
My googling gave my more results for the Red Hat apt-get tool than Debian's. I guess I wasn't searching for the right things...
 
Old 06-11-2004, 04:05 PM   #6
mandingo
LQ Newbie
 
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6

Rep: Reputation: 0
I tried it. Works good. All you have to do is uncomment a few lines.
 
Old 06-11-2004, 08:25 PM   #7
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Indeed it does. Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
adding an option to a 'tab' completion + ls whatnoname Linux - Newbie 2 06-07-2005 07:32 AM
tab completion with scp fsbooks Linux - General 5 04-07-2005 03:13 PM
How can I turn on/install tab completion which I am so used to. jimdaworm *BSD 2 04-06-2005 11:25 PM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration