Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Where did my tab to auto-complete go for my terminal?

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,133
    Distro
    Xubuntu 13.04 Raring Ringtail

    Where did my tab to auto-complete go for my terminal?

    normally when i type "sudo apt-get ins" and i hit the tab key it auto-completes install and i could also auto-complete package names
    for some reason it is not working on my fresh install of xubuntu raring from todays (March 1st, 2013) daily iso
    Last edited by pqwoerituytrueiwoq; March 2nd, 2013 at 02:51 AM. Reason: specify today
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  2. #2
    Join Date
    May 2007
    Location
    Vermont
    Beans
    869
    Distro
    Ubuntu

    Re: Where did my tab to auto-complete go for my terminal?

    working fine for me in xubuntu raring fresh installed the other day
    Desktop: Windows 8 x64 | Intel Core i5-2500 | 16 GB DDR3 1333 | ATI 6950 2gb | 64gb Vertex 2/320gb/750gb/1tb hdd
    Laptop: System76 Lemur Ultra | Xubuntu 13.04 x64 | 2.5Ghz Intel Core i5-3210m | 8GB DDR31600 | Intel HD4000 | 500GB 7200rpm hybrid hdd

  3. #3
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Where did my tab to auto-complete go for my terminal?

    A few things to check:

    1. Are you using the bash shell?

    2. Is bash-completion installed?

    3. Does the file /usr/share/bash-completion/completions/apt-get exist?

    4. Have you tried re-installing bash-completion?

  4. #4
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,133
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Where did my tab to auto-complete go for my terminal?

    1. assuming env would tell me if i am running bash, i am running bash
    2. yep
    3. yep
    4. just tried reconfiguring and reinstalling to no avail
    i can't seem to auto complete "apt-get" if i start it with sudo (still cant auto-complete 'install')
    edit: it works on my guest session, must have been fixed during todays updates, and i just have a outdated config fine in my home folder, but idk which i need to delete
    Last edited by pqwoerituytrueiwoq; March 2nd, 2013 at 03:14 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  5. #5
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Where did my tab to auto-complete go for my terminal?

    What happens if you source bash_completion:
    Code:
    . /usr/share/bash-completion/bash_completion
    Does it work then?

  6. #6
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,133
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Where did my tab to auto-complete go for my terminal?

    Code:
    ~$ apt-get ins_init_completion: command not found
    _init_completion: command not found
    _init_completion: command not found
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  7. #7
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Where did my tab to auto-complete go for my terminal?

    Is that the response that you get when sourcing the /usr/share/bash-completion/bash_completion file? Very odd.

    Code:
    ls -l /usr/share/bash-completion/bash_completion
    ...I get:
    Code:
    -rw-r--r-- 1 root root 66440 Jul 23  2012 /usr/share/bash-completion/bash_completion
    Did you change your ~/.bashrc file? Within it:
    Code:
    if ! shopt -oq posix; then
      if [ -f /usr/share/bash-completion/bash_completion ]; then
        . /usr/share/bash-completion/bash_completion
      elif [ -f /etc/bash_completion ]; then
        . /etc/bash_completion
      fi
    fi

  8. #8
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,133
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Where did my tab to auto-complete go for my terminal?

    i had this issue litterally after clean installing todays daily iso fro xubuntu, 1st thing i did was open a terminal and go to install synaptic when i noticed it
    Code:
    chad@chad-A54C-NB91:~$ ls -l /usr/share/bash-completion/bash_completion
    -rw-r--r-- 1 root root 66440 Oct 23 18:12 /usr/share/bash-completion/bash_completion
    chad@chad-A54C-NB91:~$ cat .bashrc
    cat: .bashrc: No such file or directory
    chad@chad-A54C-NB91:~$ cat ~/.bashrc
    cat: /home/chad/.bashrc: No such file or directory
    chad@chad-A54C-NB91:~$
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  9. #9
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,133
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Where did my tab to auto-complete go for my terminal?

    Code:
    ~$ echo $SHELL
    /bin/bash
    going to sleep now...
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  10. #10
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Where did my tab to auto-complete go for my terminal?

    How about:
    Code:
    echo $SHELL

Page 1 of 2 12 LastLast

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
  •