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

4
votes
2answers
126 views

Terminal autocomplete functionality can only match from the beginning?

For example, if I type in "apt-"and press tab,I can find "apt-get" below.But if I type in "get", "apt-get" cannot appear. How can I do to match not only from the beginning?
0
votes
2answers
28 views

java linux terminal -cp auto-complete

I'm working with a java library which needs two files 'library.jar' and 'library-extensions.jar'. Whenever I try to include both of them separated by a colon (e.g. -cp ...
2
votes
1answer
29 views

How to remove all hyperlinks from a LibreOffice writer document ready for publishing?

I have a small book in LibreOffice writer format that I am preparing for self-publishing on Lulu. I have followed the instructions for pdf export that lulu have given for OpenOffice (given that ...
1
vote
0answers
51 views

System freezes during Bash auto-completion with Tab or Ctrl+R

It started about a week ago, don't know why. Now, when I type something like cd somedir and click Tab, my system completely freezes for about 10 seconds. I can move the cursor but can't switch between ...
1
vote
0answers
35 views

Making tab completion look anywhere in the word

This completion mode probably has a name, I just don't know what it is. In Sublime Text the auto complete works in a way that the typed letters are searched for in the same order but they are not ...
0
votes
1answer
42 views

tab-completion only works for table names (mysql 5.5 on ubuntu 14.04)

I'm used to having tab-completion for mysql keywords, database names etc in mysql, but in my freshly installed mysql (via 'apt-get install mysql-server') it only works for table names, not database ...
0
votes
0answers
45 views

How to fix search locations in settings

After upgrade to 15.04, the auto-complete for location search in settings -> Time & Date stopped working: Same problem with adding locations to the clock, however, I'm unable to take screenshot ...
0
votes
2answers
182 views

terminal auto complete doesnot work in adb command

I'm using Ubuntu 14.04 (updated), in terminal, auto complete works well but when I'm using adb command in terminal, auto complete does not work anymore..
3
votes
2answers
365 views

bash: script/bash_completion_dog: No such file or directory

When I open my terminal, I get this message. I tried to correct my .bashrc file but could not find anything related to this error message. How do I resolve this? As suggested by terdon, I tried the ...
2
votes
2answers
147 views

How to auto-complete commands by typing first letter?

In the terminal, how can I show history while typing? Is this possible? what is the library that I have to install? I think this will boost my productivity while using the terminal, currently I ...
2
votes
1answer
34 views

How does one get tab-completion in gsettings from zsh?

I notice that when using the bash shell (for example) the gsettings command has tab-completion; but when I use the Z shell (zsh) gsettings has no tab-completion. How can I enable it?
0
votes
0answers
22 views

Long view for tab completion?

Is there any way to show a long view (e.g., timestamp, permissions, filesize, etc) for tab completion of filenames in bash?
1
vote
1answer
100 views

How can I get auto-completion working via xrdp?

I wanted to connect via xrdp from my windows 8.1 machine to my Ubuntu 14.04 LTS 64 Bit Server . It works fine now, big fun. The only Problem I experienced is that when I want to use autocomplete via ...
0
votes
0answers
13 views

costomsation of tab response from cli

I like the fact that whenever I need to type some path in the command line, the TAB key helps me with autocompletion. The problem is that I'll like to have the autocompletion even when the directory ...
2
votes
1answer
144 views

Auto-complete in Ubutnu 14.04 terminal

How can I replace TAB with CTRL+SPACE for auto-complete in Ubuntu terminal?
2
votes
1answer
1k views

terminal autocomplete doesn't work properly

if I start typing a command like apt-g after hitting tab, terminal completes the command to apt-get, but for the second part of command like install if I insert some other char like insta hitting tab ...
0
votes
0answers
80 views

bash autocomplete behaving strangely after update

Since bash was updated very recently, when I try to autocomplete by tabbing during a cd I get the following... tony@tony-HP:~$ cd Mucword=1 words[0]=${!ref}${COMP_WORDS[i]} ...
0
votes
0answers
19 views

Pre-populate Username and Domain fields

I click one of the bookmarks to connect remotely to my home folder - initially the folder was arrived at using "File -> Connect to server", then the bookmark created. However, on clicking the ...
0
votes
1answer
40 views

ubuntu file manager: text input for file names (with autocomplete)

I use the default ubuntu file manager. Sorry, I can't give you exact application name, since I could not find it. The german "about" messages just says "Dateien" (german for "Files"). I don't see a ...
4
votes
2answers
259 views

Shell gives no prompt if auto completion is enabled (blinking cursor instead)

I tryed to enable shell autocompletion uncommenting the following lines in my .bashrc: # enable programmable completion features (you don't need to enable # this, if it's already enabled in ...
0
votes
1answer
194 views

Autocomplete filename in script

I have been searching for a solution to this problem for a while. I am trying to find a way to use autocomplete for more than just commands, eg: for files inside the current folder. One possible use ...
0
votes
1answer
146 views

How to create a new user defined command to kill processes using process name?

Suppose I wanted to kill firefox , I just write pidof fi(press tab)refox (appears on its own) , then I write ' kill 'id given by pidof' ' on terminal. I know that I can write 'kill `pidof firefox` ' ...
0
votes
1answer
140 views

cvs autocomplete not working

I'm running Ubuntu 14.04. When I'm on the server via Putty (ssh), the autocomplete is not working for the cvs commit ... or cvs update ..., although for other commands like nano, it's working fine. ...
16
votes
4answers
3k views

Why does terminal auto complete sometimes not suggest anything for the `services` command?

Sometimes, when I type a command on the terminal, the terminal's autocomplete does not work, even if my command is not wrong. For example, take look to this: sudo service vsftpd status sudo and ...
1
vote
1answer
124 views

Upstart sub-command tab completion with zsh

I've just recently switched to ZShell, and am loving it so far. One issue I'm having however is that my init.d or upstart scripts used to have tab completion for their subcommands, but now it doesn't. ...
0
votes
1answer
40 views

How to get autocompletion with “>|”?

When trying to empty a text file with >| filename why doesn't bash's autocomplete work for the file name? Is there anyway to allow autocompletion like any other terminal command?
5
votes
1answer
366 views

How can you mirror an autocomplete function in your own aliases (in 14.04)

I have a bunch of aliases that I've used on my 12.04 machine. example: alias pssh="tsocks ssh" alias pscp="tsocks scp" alias prdp="tsocks xfreerdp ..........SOMETHING ...." These aliases are ...
16
votes
2answers
5k views

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

The new apt command, present in Ubuntu since 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 ...
0
votes
2answers
171 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
179 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
62 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
437 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
278 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
2answers
3k 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
623 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
1k 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 ...
7
votes
1answer
6k 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
1answer
553 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
354 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
933 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
161 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 ...
4
votes
1answer
3k 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 ...
2
votes
1answer
235 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
224 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
446 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
494 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. ...
4
votes
2answers
21k 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
101 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
5answers
1k 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
3k 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 ...