Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [auto-completion]

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

2
votes
2answers
418 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 ...
1
vote
2answers
513 views

Bash tab completion script

I have pass installed and working. However, I cannot get the tab completion to work. I have placed the tab completion script in /usr/share/bash-completion/completions/. The script is called password-...
1
vote
2answers
2k 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 ...
5
votes
1answer
2k 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 ...
2
votes
1answer
197 views

Bash auto_complete .out error

I am using a customized dotfiles from a github repo. When I am trying to execute a c++ executable named a.out and try to use TAB Key after a.out (for arguments), I get the following error: bash: a....
1
vote
1answer
415 views

How can I make bash completion (tab auto-complete) match a particular command first?

I develop using Python on Ubuntu and so I use the workon command (from virtualenvwrapper) a lot to switch virtualenvs. Previously, workon was the first tab-completion match for "wo", so I could type ...
1
vote
1answer
347 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 ...
1
vote
1answer
378 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
341 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
925 views

Disable autocompletion in Atom

So I just recently got into coding (Python) and I am using Ubuntu 16.04 and the Atom text editor. A very annoying feature is the auto-completion. For example, I type in x (a variable I set previously)...
0
votes
1answer
63 views

completion for alias gone?

The good method for completion for alias in this web https://ubuntuforums.org/showthread.php?t=733397. Now in 16.04, seems rules changed. I can not find apt(_apt) completion command. but ls is(...
0
votes
1answer
640 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
52 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?
0
votes
1answer
561 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. ...
3
votes
0answers
414 views

How to allow ZSH to autocomplete ZFS

System: I'm running Ubuntu 16.10 with ZFS and ZSH installed. Expected behaviour: As the root user, I can press tab to autocomplete zfs commands and paths. It works both in zsh and bash. As a non-...
3
votes
0answers
437 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 ...
2
votes
0answers
217 views

vi tab completion works only in some directories

I have moved from Ubuntu 14.04 to 16.04 (new installation). On 14.04 I had no problems with tab completion. However on 16.04 I have problems especially with vi: In some directories (e.g. ~/ , /etc, /...
2
votes
0answers
96 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 ...
1
vote
0answers
36 views

How do I get prompt colours and auto-complete on 18.04 for a new user created with useradd?

I use Tilix, which is imo one of the best VTE based terminal emulators for Linux. If I create an Ubuntu 16.04 image on DigitalOcean, connect to it via SSH and then configure a new user (as below), ...
1
vote
0answers
155 views

Tab auto-completion doesn't work for argument for a non root user on Ubuntu 18.04.1

For an ordinary user on Ubuntu 18.04.1 the tab key doesn't work for a command argument. For example, entering systemctl sta and pressing the tab doesn't produce a match for "start status". It works ...
1
vote
0answers
27 views

How to filter out selected records from /etc/hosts file from terminal prompts for ssh command

I have a problem with hints for the ssh command. When I press the tab key, the terminal displays all records from the /etc/host file in prompts. I use add-ons to block spam and advertisements in my ...
1
vote
0answers
280 views

ssh tab auto-complete causes bash: warning: setlocale

When I try to to use tab to auto-complete to finish a ssh (or scp) command, the following error appears on the console: -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8) -bash: ...
1
vote
0answers
140 views

zsh auto completes non-executable files in $PATH when press TAB

I'm using oh-my-zsh, along with some custom scripts that automatically add sub-directories under specific folder to PATH. Taking android studio for example, assume ~/android-studio/bin is included in ...
1
vote
0answers
123 views

bash command prompt autocomplete by folder/filename initial?

In brief Bash prompt has the autocomplete feature when we hitting tab. When there are multiple outcomes, hitting tab will display the candidate list. I want to enter the initials of folder/filename ...
1
vote
0answers
321 views

Autocomplete SSH bash: export: `-a': not a valid identifier

When I try to autocomplete using double TAB, I get this error: bash: export: `-a': not a valid identifier This mainly happens when trying to autocomplete ssh routes. However sometimes it fails to ...
1
vote
0answers
80 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
0answers
41 views
+50

Word Prediction like Android “keyboard”

Is there a way to get word prediction like on android? Like on this screenshot: This would improve the speed of typing on Ubuntu a lot. I need it here: thunderbird Browser textarea gedit Required ...
0
votes
0answers
23 views

chaning git checkout behaviour in zsh

I'm follwing this link on how to use git checkout auto-completion for only local branches. I first used it on my bash shell as follows (Used this link as a reference. Also, commented out the original ...
0
votes
0answers
34 views

Universal word autocompletion

I'm looking for a simple way to get universal autocomplete on words. It should mainly work in the browser and text-editor. Example: If you type Sta a window would appear with the suggestion ...
0
votes
0answers
120 views

TextSuggest Universal Autocomplete Installation Error

I followed the instructions to install the autocomplete tool TextSuggest but now I'm stuck at this part: Run the command textsuggest-server in the background, and set it to run on startup. ...
0
votes
0answers
232 views

fix scp autocomplete in 18.04

in 16.04 there is no /usr/share/bash-completion/completions/scp and tab will work with scp and local paths in 18.04 there is a /usr/share/bash-completion/completions/scp and tab will fail with scp ...
0
votes
0answers
46 views

How can I get the autocomplete feature of the command “sudo service squid…”?

I can't type in my console: $sudo service squi and press TAB and get the remain part of the command completed (squid3), neither the start, stop and restart parameters as I'm used to do with others ...