LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-27-2010, 01:47 PM   #1
Razgorov
LQ Newbie
 
Registered: May 2010
Location: Groningen
Distribution: Debian, Sidux and LFS (working on that one :-)
Posts: 5

Rep: Reputation: 1
Smile apt-get autocomplete


Hey all!

I used to run Sidux and every time I wanted a package I could use the auto-complete with tab like I'm used to in BASH. My girlfriend uses Ubuntu and it didn't work there. Now I switched to Debian, and it doesn't work there either.
I tried the usual suspects (man bash, man apt, man apt-get, info, --help and google :-)

Does anyone have an idea how I can switch the completion back on?

Thanks in advance!
 
Old 05-27-2010, 02:21 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,625

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
Install bash-completion
 
1 members found this post helpful.
Old 05-31-2010, 03:32 PM   #3
Razgorov
LQ Newbie
 
Registered: May 2010
Location: Groningen
Distribution: Debian, Sidux and LFS (working on that one :-)
Posts: 5

Original Poster
Rep: Reputation: 1
SOLVED apt-get auto-comletion

Hey all!

Apt-get is autocompleting again!

I added the folowing in /root/.bashrc

Quote:
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
After that, just exit as root, give su again, and its ready to use.
Since one can only use apt-get as root, there is no real need for puting it in your personal ~/.bashrc

Thank you Koen Vervloesem
Thanks all!
 
1 members found this post helpful.
  


Reply

Tags
apt-get


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
AutoComplete(Suggestions) sci3ntist Programming 2 04-22-2007 08:09 AM
Tab autocomplete magic_ghost Linux - Software 1 03-17-2006 12:04 PM
Autocomplete my username... fatrandy13 Linux - General 3 10-14-2005 04:02 PM
autocomplete figadiablo Linux - General 6 03-13-2002 04:19 PM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration