Anything related to automatic completion of path/file/folder names or commands such as the ones provided by bash-completion package

learn more… | top users | synonyms

2
votes
1answer
68 views

Bash completion for the new apt command

I like the new apt command (which will be included in the upcoming trusty release) so much that I installed it on my precise system by compiling the 14.04 package from source. Unfortunately, bash ...
8
votes
2answers
240 views

Can I enable bash-completion for the new apt command?

The new apt command in 14.04 seems to be a really useful intersection of functionality between apt-get and apt-cache but the current version of bash-completion doesn't know about it... Which makes it ...
0
votes
2answers
40 views

Why auto complete does not work for directories in terminal ?

I am using Ubuntu 13.10. While i was using previous versions of Ubuntu, I was able to auto-complete the directories names, even multiple times in a single command. I am not able to the same now. As ...
1
vote
1answer
29 views

Tab doesn't auto complete on user “minecraft” but completes with root

On my user "minecraft" whenever I hit the tab key it just indents instead of auto completing. It works fine on root though. Output of getent passwd minecraft: ...
0
votes
1answer
24 views

config file of shell complete

I want add autocompletion to my script. I wrote bash code for autocomplete (using this tutor http://tldp.org/LDP/abs/html/tabexpansion.html) and put it to /etc/bash_completion.d/ then i execute in ...
4
votes
1answer
126 views

bash autocomplete feature doesn't work when I create function for emacs

Details about my system: I am running Ubuntu 12.04.4 LTS on Oracle Virtual Box 4.3.6, from Windows 8.1 installed on an Asus Laptop. I'm using bash_completion version 1.3 release (I got this from the ...
0
votes
1answer
73 views

How to remove a record from bash tab completion options

Every time I type "ssh use" in my bash terminal and press tab the command gets completed to "ssh username.dreamhosters.com" but that was not what I was looking for. How can I remove that entry from ...
0
votes
1answer
345 views

Terminal autocompletion 'tab' not working as intended?

I know this has been discussed on other posts but my problem does not seem to be fully resolved and I do not have permission to add a comment to those posts yet :( listed on help.ubuntu.com > ...
1
vote
1answer
185 views

Bash completion doesn't work, or is ignoring what I've typed; but works for commands

Bash completion seems to be ignoring what I've typed (it tries to complete, but acts as if there's nothing under the cursor). I know I saw it work on this machine earlier today, but I'm not sure what ...
3
votes
1answer
302 views

Can I implement tab autocomplete in a bash script?

I have a script that, when a user enters a file name in a directory, performs automatic tagging operations on that file (mp3 tagging). My problem: It gets really tedious typing in the exact file ...
2
votes
1answer
660 views

Bash auto_completion with Xubuntu and xrdp from windows

I'm using Xubuntu and connecting over RemoteDesktop with Windows 7. Everything works fine, but the auto_completion in my bash doesn't work. I checked the .bashrc file in my home directory and also ...
0
votes
0answers
34 views

Bash completions: what one can do with them and when are they loaded in the shell?

Weird behavior of a 3rd party (from a windows guy) program (related to python packaging..) confused me a little but this question might explain everything. Sorry, I don't know pretty much anything ...
0
votes
1answer
133 views

any way for auto-tab in mysql?

Using MySQL version 5.5 in Ubuntu 13.04.is there any way for enabling auto-completion with TAB in mysql ? I'd like to auto-tab for table names,database names,commands etc ,.
3
votes
2answers
145 views

Why doesn't Bash completion for 'cc' and 'c++' work?

While trying to compile using a C/C++ file using cc/c++ commands, I find that it is no longer possible for me to use Tab key for bash-completion. I could do the same before 12.10. Also, when ...
3
votes
1answer
319 views

Command tab completion of arguments from folder

Is it possible to create a list of completions for a command based on some folder's files? Say I want to run Sublime Text 2 on one of my projects, which are saved as ...
1
vote
1answer
103 views

Force terminal text editors to open specific file types first, if there are multiple with the same name

If I have multiple files all with the same name (except, of course, the extension), is there a way of making bash auto-complete to a specific extension when I open them from the terminal with a text ...
0
votes
0answers
153 views

Tab completing directories when exporting variables in bash 4.2

I will start by mentioning this is a different issue (but perhaps related) to the escaping of dollar signs when tab completing variables. What I am trying to do is this. When exporting a variable ...
0
votes
0answers
53 views

tab complete after CLI install

I have a silly question, but its driving me bonkers. In my terminal, after I sudo apt-get install xxxx I can never tab-complete that software after its installed. I have to open a new terminal then ...
2
votes
1answer
2k views

How to make my ubuntu auto-shutdown after successful update?

Using a EDGE for update is really not cool but i have to. So my update always runs in night when i go to sleep. Is there any way to set ubuntu to auto-shutdown after completion of update. Note: I ...
0
votes
0answers
118 views

Oh-My-ZSH Autocomplete Script append '/' (Forward-Slash) to completion

I'm trying to create an autocomplete plugin for Oh-My-ZSH, everything works fine except on hitting TAB the completion is followed by numbers of / . Here are the codes that I currently have: local ...
2
votes
1answer
180 views

Autocomplete while compiling a file with c++ is gone

I am using Ubuntu 13.04 and have been programming mostly in C++. I use vim editor and c++ command to compile my .cpp file. What I have noticed is after typing c++ and pressing the Tab key, an ...
2
votes
1answer
133 views

Auto-completion does not work with sudo mount

I'm using 12.04.2 and auto-completion for mount does not work with sudo. If I don't use sudo auto-completion works as expected: $ mount --bind -t devpts /dev/<press tab> block/ char/ ...
0
votes
1answer
148 views

Are there different options for terminal autocomplete (tab) behaviour?

I don't like my terminal's autocomplete behaviour, to be honest I like windows' cmd behaviour better. Does bash (default shell in ubuntu) come with several options of the autocomplete behaviours? How ...
0
votes
1answer
311 views

Eclipse 4.2 (Juno) crashes on Ubuntu 12.04 (Precise)

I installed eclipse 4.2 java on Ubuntu 12.04 x86_64 and it just crashes everytime it opens the auto completion context menu. It crashes without any error message and just closes the eclipse window. ...
1
vote
1answer
3k views

How to make terminal autocomplete when there are several files/directory?

If I have several directories, like: afoo abar sometimes my terminal will refuse autocomplete when I press tab (e.g. "cd a" then tab), and print the list of directories instead. Sometimes it even ...
2
votes
3answers
74 views

How to see available commands that end with a certain string?

If you start typing and pressing tab the console tries to expand and show all commands, functions and executable scripts that begin with what you have started to write. Is there a way to see which ...
5
votes
4answers
585 views

Service tab-completion broken as root, not even sure where to start looking

On most of our servers, tab completion of service names after typing in the service command no longer works, as root. It works just fine as non-root. This is on Ubuntu 12.04. I'm not even sure where ...
1
vote
1answer
2k views

Is plugin needed for php code completion in Geany?

I'm new to Geany IDE. I have installed basic Geany without any plugins from ubuntu software center. I couldn't find code completion for php when I press Ctrl space. Is plugin needed for this ...
10
votes
5answers
4k views

auto-completion does not work for “sudo apt-get install”

Okay a college of mine just showed me that you could do sudo apt-get install <type first letters of package> <TAB> That it auto-completes the name of the package. Just for an example... ...
0
votes
1answer
853 views

Problem bash completion apt-get 12.10

I've got an annoying problem with completion and sudo apt-get. To give an example: $ sudo apt-get in[Tab][Tab] in intel_bios_reader includeres ...
1
vote
1answer
195 views

Wrong autocompletion with sudo apt-get

Does anybody know why if I type: apt-get upg<TAB> I get: apt-get upgrade but if I type: sudo apt-get upg<TAB> I get: sudo apt-get upgrade-from-grub-legacy
3
votes
2answers
246 views

Any way to list similar commands?

When you write the command name wrong, bash often does this: septi@norbert:~$ good No command 'good' found, did you mean: Command 'gold' from package 'binutils' (main) Command 'gmod' from package ...
3
votes
1answer
497 views

changes to /etc/bash.bashrc not permanent

After a recent upgrade to 12.04, auto tab completion was disable in /etc/bash.bashrc. I uncommented the following lines: if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . ...
4
votes
1answer
519 views

How to make bash stop tab autocompleting hidden directories

Most of the time, I don't need autocompletes for my hidden directories. In fact, that's the point of them being hidden! However, annoyingly, bash takes these directories into account when ...
3
votes
1answer
484 views

Autocomplete on .bash_aliases commands?

I have a whole bunch of aliased commands in .bash_aliases The most generic examples are alias apt-update="sudo apt-get update" alias apt-upgrade="sudo apt-get dist-upgrade" but then I also have ...
0
votes
0answers
21 views

Suggestions for IDE with code auto-completion for web development (LAMP) [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? I am looking for an editor (IDE) for developing PHP web applications. I would need it to handle HTML, CSS, JavaScript and PHP at the ...
1
vote
1answer
71 views

CLI looking/acting strange on a BeagleBone

I'm having an issue with the Command Line Interface. I'm running Precise 12.04 armhf on a BeagleBone and all the functionality works fine that I need. I have a 'cosmetic problem' when logged in as the ...
0
votes
0answers
96 views

Why doesn't autocomplete work after typing the “su” command? [duplicate]

Possible Duplicate: Autocompletion doesn't work while logged as root I have had a few times when autocomplete doesn't seem to be there when pressing the tab button. I can recreate this ...
1
vote
2answers
279 views

How to Tab-complete directories when in symlinked directory?

I have a symlink: /path/to/foo -> /path/to/bar/foo When in /path/to/foo I might want to cd to /path/to/bar/foo: $ cd ../ Tab Then nothing autocompletes. I can still cd just fine by typing in ...
5
votes
4answers
5k views

Terminal command autocomplete

I'm currently trying to switch from OpenSUSE to Ubuntu as my main OS. While most of opensuse features is there in ubuntu, there is one feature that doesn't. In Opensuse, I can always use Ctrl+Up to ...
3
votes
2answers
5k views

Bash Completion Doesn't Work In Root User

I'm on 12.04 and I'm trying to find a way to enable Bash completion in root user. Any ideas on how to do that?
1
vote
2answers
6k views

Bash Tab Auto-complete not working for apt

apt-get install and apt-cache policy do not complete package names. I have double checked /etc/bash.bashrc, no irregularities. Googled for answers but none suffice. Any help/advice?
3
votes
1answer
936 views

How to autocomplete formulas in LibreOffice Calc

I recently moved from MS Excel 2007 to LibreOffice Calc (now using Ubuntu 11.10) and there are some things that I still cannot do in LibreOffice Calc. One of these things is formula autocompletion. ...
3
votes
2answers
5k views

Tab autocomplete in terminal is not behaving properly

There's something odd about my autocomplete in the gnome terminal. I used to be able to type cp Downtab to get cp Downloads/, and then type Jettab to end up with cp Downloads/Jet\ Pack\ ...
7
votes
4answers
4k views

Autocompletion doesn't work while logged as root

I have just came across something that is really bothering me. Autocompletion on ubuntu works like a charm but when I login as root, e.g. su I get tab autocompletion only sometimes. Why does it work ...
3
votes
2answers
293 views

alt-tab completion while using SSH

I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...
21
votes
3answers
18k views

apt-get autocomplete

At some moment apt-get install autocomplete was broken It was very useful to me to see packages name with Tab press How to repair this autocomplete?
1
vote
1answer
74 views

extra space before brackets [closed]

When I type something anywhere (bash, eclipse, this field) and open a bracket, Ubuntu adds a space before it. So instead of: code() I get code (). This creeps me out. How can I stop it doing that?
2
votes
2answers
758 views

enable auto-completion of apt-get for non-privileged user?

I've enabled apt-get in SUDO without password , and bash autocompletion for it need to be enabled as well , but how ? If i try to source that file: %> . /etc/bash_completion.d/apt No command ...
7
votes
2answers
1k views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).