Results 1 to 3 of 3

Thread: Tabs just don't work the way they used to.

  1. #1
    Join Date
    Nov 2008
    Location
    ~/
    Beans
    47

    Exclamation [solved] Tabs just don't work the way they used to.

    On the last distro, you can use tabs to auto complete a command

    Example:

    You type in
    Code:
    sudo apt-
    hit Tab twice and it will say
    Code:
    apt-cache             apt-extracttemplates  apt-key
    apt-cdrom             apt-ftparchive        apt-mark
    apt-config            apt-get               apt-sortpkgs
    I want to use apt-get, so I add
    Code:
    ge
    to the command and hit tab and it will say
    Code:
    sudo apt-get
    I wanna install so I would normally add
    Code:
     i
    hit tab and it will say
    Code:
    sudo apt-get install
    I wanna install Chromium, (after the ppa was added) so I add
    Code:
     chromi
    hit tab twice and normally, the output will be something like this:

    Code:
    sudo apt-get install chromium
    
    chromium
    chromium-bsu
    chromium-bsu-data
    chromium-data
    chromium-testsuite-dbg
    chromium-testsuite
    chromium-codecs-ffmpeg-nonfree-dbg
    chromium-codecs-ffmpeg-nonfree
    chromium-codecs-ffmpeg-dbg
    chromium-codecs-ffmpeg
    chromium-browser-l10n
    chromium-browser-inspector
    chromium-browser-dbg
    chromium-browser
    OK, I want the Browser, so I add
    Code:
    -br
    hit tab and it will say
    Code:
    sudo apt-get install chromium-browser
    then I would hit enter, put in my password and install the package.

    You can't do that anymore or at least not by default and it's hard to find "google friendly terms" to search up this issue.

    I just want my tabs back.
    Last edited by commodore256; November 19th, 2009 at 08:06 AM.

  2. #2
    Join Date
    Oct 2006
    Location
    New York
    Beans
    1,118
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Tabs just don't work the way they used to.

    That's called bash auto-completion.

    Usually one has something of this sort in their .bashrc
    Code:
    if [ -f /etc/bash_completion ]; then
        . /etc/bash_completion
    fi
    Do you?

  3. #3
    Join Date
    Nov 2008
    Location
    ~/
    Beans
    47

    Re: Tabs just don't work the way they used to.

    Whoops, This isn't an Ubuntu Problem, this is a Arch Linux Problem.

    I had the same problem in Arch and I used the Home Partition from Arch and just installed ubuntu on my root partition. (Arch has nothing Pre-configured)

    Thanks!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •