Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-09-2004, 08:45 PM
|
#1
|
Member
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331
Rep:
|
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.
|
|
|
06-11-2004, 03:05 PM
|
#2
|
LQ Newbie
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6
Rep:
|
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.
|
|
|
06-11-2004, 03:06 PM
|
#3
|
Member
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331
Original Poster
Rep:
|
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.
|
|
|
06-11-2004, 03:14 PM
|
#4
|
LQ Newbie
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6
Rep:
|
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
|
|
|
06-11-2004, 03:56 PM
|
#5
|
Member
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331
Original Poster
Rep:
|
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...
|
|
|
06-11-2004, 04:05 PM
|
#6
|
LQ Newbie
Registered: Jun 2004
Location: Los Angeles, CA
Distribution: Debian - Sid
Posts: 6
Rep:
|
I tried it. Works good. All you have to do is uncomment a few lines.
|
|
|
06-11-2004, 08:25 PM
|
#7
|
Member
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331
Original Poster
Rep:
|
Indeed it does. Thank you very much. 
|
|
|
All times are GMT -5. The time now is 12:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|