Questions tagged [autocomplete]

A feature provided by interactive programs such as shells and text editors that inserts text to complete a word or phrase that the user is likely intending to compose.

A feature provided by interactive programs such as shells and text editors that inserts text to complete a word or phrase that the user is likely intending to compose.

830 questions
6
votes
1 answer

Completing a command like another command in bash

Let's say I'm creating a wrapper for the Unix program wget called wget-hip. I want wget-hip to get the same shell completion rule as wget because they both happen to have the same command-line options. So if wget has this completion rule: complete…
1
vote
1 answer

Stray line feed character at the end of the bash complete output

So I routinely push applications to background and switch among them. I realized that fg doesn't have a tab complete defined. So I thought I can put together a tab complete for fg quickly with the suggestions coming from the jobs command. I didn't…
Aditya
  • 175
0
votes
0 answers

Why complete command can't store previously set words?

I'm using complete command for adding auto complete for my script. For example I want to add boogh for my script my_script $complete -W "boogh" my_script After running this command, boogh keyword will appear easily after pressing tab key. But the…
rezaebrh
  • 101
0
votes
1 answer

Are there system settings that affect command line completion?

I have an application (not my own) that I run on two different CentOS6 machines with 2.6.32-696 kernels. The application is a command line driven (it has its own prompt once started) data analysis and graphing routine. On one machine, command line…
PaulV
  • 9
0
votes
2 answers

How to use arrows and enter to select option from autocomplete options?

On an older installation I had it somehow configured, so that I if I had an autocomplete list that I could bring up with tab, the first item was highlighted and I could use my arrows to navigate the list and confirm with enter. I don't remember how…
Hakaishin
  • 135
  • 1
  • 6
0
votes
0 answers

How can autocompletion for PON (PPTP VPN) command be enabled?

This is my PPTP peers config: $ sudo ls -la /etc/ppp/peers/ total 24 drwxr-s--- 2 root dip 4096 Oct 14 00:20 . drwxr-xr-x 7 root dip 4096 Oct 14 00:18 .. -rw-r--r-- 1 root dip 172 Oct 14 00:20 Themiscyra -rw-r----- 1 root dip 1093 Jan 29 2016…