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

1
vote
0answers
17 views

Auto-completion for latex doesn't work in Latexila and Geany [ubuntu 15.10]

I recently upgraded to Ubuntu 15.10. I noticed that auto-completion doesn't work anymore on Latexila so I tried to use Geany with Latex plugin but the result is the same. I had a quick look on the ...
3
votes
0answers
43 views

Redirect 'complete' in bash functions and alias

tl;dr: Is there a way to use an existing auto completion function to also auto complete arguments to an alias or short function. Auto completion in bash is great but does not mix well with aliases ...
3
votes
1answer
70 views

Bash completion for custom command to complete static directory tree

I would like to add a custom completion spec for bash's Programmable Completion that does the following: whenever the command entered is foo, I would like to do filename/directory completion for the ...
0
votes
0answers
20 views

Linux server autocomplete issues

I run an Apache on an Ubuntu server and because the a website hosted on the server was being very sluggish, I decided to restart apache - only I couldn't quite remember the command and I decided to ...
5
votes
1answer
80 views

Select a particular result from completion suggestions

Let's say I have 3 files in a particular directory: abc.txt, aww.txt, ant.txt If I do: cat a (and press tab to see options) terminal will display the 3 file names: abc.txt, aww.txt, ant.txt Is there ...
0
votes
2answers
41 views

Is there a way to get the trailing '/' to appear when using cd with a symbolic link directory?

I'm using the bash shell and use lots of soft links. One minor but annoying behavior I observe is the fact that I need to hit tab twice to complete the name of a soft link to a directory. e.g. $ ...
0
votes
0answers
29 views

Autocomplete ends with space for gnuplot

I have Ubuntu 14.04 and gnuplot 4.6.4. In gnuplot, when I try to use the autocomplete in gnuplot the filenames as well as the directory names end with a space. I removed ...
1
vote
0answers
36 views

Bash auto-completion won't work for java command

I have a folder that has one java source (.java) and one java (.class) class file. I try to get the autocomplete functionality of bash by pressing <tab> after the java or java MyCl in order ...
2
votes
0answers
29 views

How do I add zsh completion for evince with djvu files?

I am using zsh (5.0.2). The auto-completion for evince only shows files of some predefined extensions, amongst which pdf and ps but not djvu. How to make zsh also autocomplete with djvu files on ...
11
votes
1answer
294 views

What does _expand do?

I was working with the shell, and by mistake I autocompleted with tab after writing _e, which resulted in _expand. What does this command do? I couldn't find an explanation online, the only ...
2
votes
1answer
43 views

libre office word completion not working

I am using ubuntu and in Libre office, the word completion option under Auto correct is not working. Please let me know the solution. I have ticked and selected "Enable Word completion" and minimum ...
2
votes
1answer
130 views

TAB press for auto-complete does not work for some service names [duplicate]

I can run following command on my Ubuntu 14.04.3 Terminal without any problem: sudo service network-manager restart [sudo] password for username: network-manager stop/waiting network-manager ...
1
vote
2answers
45 views

How can I iterate over shell function completions and alias completions before external command completions in zsh?

As it stands when I hit TAB to iterate over possible completions for a partial command external command completions are iterated first: user@user-X550CL ~ % apt Completing external command apt ...
3
votes
2answers
173 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
100 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
148 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 ...
2
votes
0answers
309 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
42 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
75 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 ...
1
vote
1answer
69 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
571 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
656 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
307 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 ...
3
votes
1answer
75 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
24 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
145 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 ...
1
vote
1answer
239 views

Auto-complete in Ubutnu 14.04 terminal

How can I replace TAB with CTRL+SPACE for auto-complete in Ubuntu terminal?
4
votes
1answer
5k 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
1answer
103 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
1answer
46 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
386 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
305 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
191 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
207 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
5answers
4k 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
165 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
493 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
6k 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
316 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
225 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
103 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
563 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
350 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
4k 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
739 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
9k 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
777 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
451 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 ...