Skip to main content

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.

0 votes
0 answers
16 views

I'd like to use my current zsh autocompletion setup but filter out some of the results. I've set up an autocompletion file and put it in my fpath so that it gets autoloaded. But there's one critical ...
sasquires's user avatar
  • 135
14 votes
1 answer
643 views

Recently i noticed that when i try to "tab-tab" complete a filename for some gtk applications (i do not use gnome) i get dbus errors. for example: $ inkscape pu (tab-tab, to complete the ...
gcb's user avatar
  • 953
1 vote
1 answer
94 views

Since Java 10 as I recall, we can run Java source files directly from the command line: bash $ java Math.java The JVM compiles and executes the file automatically. However, in zsh, tab autocompletion ...
menteith's user avatar
  • 292
-4 votes
2 answers
185 views

Both of them use bash, but the one used on arch linux has way better auto-completion. But why is that? Both of them claim to use normal Bash, so how can that be true? I forgot to clarify that what I ...
Sul4ur's user avatar
  • 43
2 votes
1 answer
344 views

After installing bash-completion on Debian testing (nearly Debian 13), completion works without any additional configuration in my normal user account. This is because of /etc/profile.d/...
cweiske's user avatar
  • 614
1 vote
0 answers
55 views

I'm trying to use "read -e" to implement a user prompt with custom commands. For this I must disable the default command+filename completion. I tried this: complete -W 'cmd1 cmd2 cmd3' -D ...
Rihad's user avatar
  • 21
1 vote
0 answers
29 views

How can I get Bash to list the first (or all) commands that match a given glob? For example, let's say I'm looking for a command called cat. I can do type cat and it will search $PATH and tell me ...
k314159's user avatar
  • 533
5 votes
1 answer
219 views

rsync changed how it escapes arguments in version 3.2.4 (released 15 Apr 2022), and zsh doesn't comply with the new behaviour. For example, if I have a file named "my test file.txt", ...
cbg's user avatar
  • 53
0 votes
1 answer
67 views

I'm trying to filter bash-completion suggestions. Here awf-gtk2 -s abc.png [TAB] display -h --help -s --screenshot (it's ridiculous) / and awf-gtk2 -s[TAB] add a space after -s (perfect), with: ...
luigifab's user avatar
  • 101
0 votes
1 answer
41 views

Here is my script: #!/usr/bin/env bash kill-all-sessions() { tmux kill-server } kill-other-sessions() { tmux kill-session -a } kill-unattached-sessions() { tmux list-sessions -F '#{...
Ahmad Ismail's user avatar
  • 3,134
4 votes
1 answer
640 views

In bash (Ubuntu 24.10, but I guess this would apply to other versions/distributions) when you type in a console a command you can use TAB to autocomplete the filenames of the current directory. ...
Mark's user avatar
  • 805
1 vote
1 answer
156 views

In Bash, when I press in the middle of a word, it suggests completions based on the text up to the cursor, and if I select one, it replaces the current word rather than appending to it or leaving any ...
pedrosaurio's user avatar
1 vote
1 answer
137 views

When making a custom zsh completion, the compadd function has the -Q option. The zsh documentation describes the -Q option as follows: -Q This flag instructs the completion code not to quote any ...
Trevor's user avatar
  • 1,749
2 votes
1 answer
141 views

I’m using zsh-autocomplete (https://github.com/marlonrichert/zsh-autocomplete) and trying to keep my Tab completion “vanilla” (i.e., expand-or-complete instead of selecting the top suggestion). ...
Woodstock's user avatar
  • 458
1 vote
2 answers
294 views

In bash, when binding TAB with menu-complete, I can cycle through the current files in the lexicographical or alphabetic order. What if the file that I want is the last file in the order? How can I ...
Tim's user avatar
  • 107k

15 30 50 per page
1
2 3 4 5
59