Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
703 views

How can fzf's command history search always be shown, automatically and without CTRL-R?

With fzf you can press CTRL-R to have a command history search box shown below the prompt and fuzzy search. I want it shown automatically for each new prompt, without having to press CTRL-R.
Oneechan69's user avatar
1 vote
0 answers
52 views

How can I complete individual command line phrases / do partial completion with fzf?

With fzf I can press CTRL-R to search my command history but it completes the whole command. What I'd like is to just complete the current argument, the next phrase before the next space. Can this be ...
Oneechan69's user avatar
1 vote
1 answer
714 views

How to remove leading file path information from fish shell tab-complete suggestions?

Using fish, typing ls <tab> in an example directory, the terminal displays: $ ls bar/ dir/ foo/ Continuing with d<tab><tab> this becomes: $ ls dir/ dir/moredir/ dir/otherdir/ ...
Quappas's user avatar
  • 15
1 vote
0 answers
515 views

Tab Autocomplete does not work in windows CMD when remoting into machine using WINRS - WINRM

When inside a basic windows cmd prompt doing something like cd <TAB> will start auto-completion; However, when I connect to a remote machine using winrs the <TAB> key simply inserts a tab ...
Cynapse's user avatar
  • 150
1 vote
2 answers
2k views

Windows Terminal with git-sdk autocomplete for git doesn't work

I am using git-sdk in my Windows Terminal. "profiles"/"list" entry for it looks like this: { "guid": "{00000000-0000-0000-ba54-000000000002}", "...
a_girl's user avatar
  • 286
4 votes
1 answer
1k views

Bash autocomplete with wildcard

I would like to type in the terminal like I do in emacs: emacs 2019-*subject* When I hit Tab I get the first match: 2019-08-03-subject.markdown What I would like is for it to show me the options ...
Pandian Le's user avatar
1 vote
2 answers
2k views

Bash auto completion not working after certain command

I am using graphViz under bash / Cygwin, but somehow when calling it, bash tab autocomplete does not do anything. Example files: myGraph.graphviz is the input file myGraph.graphviz.png should be the ...
Bowi's user avatar
  • 1,537
5 votes
2 answers
3k views

Bash Autocomplete Subdirectory for Custom Command

I have tried for hours to get this working and feel like I've not come anywhere close. I am trying to shorten our workflow by tab-completing directory names from the Mac OS X Terminal. We have an ...
Gedrick Wilson's user avatar
1 vote
1 answer
107 views

Tab in bash autocompletes from path, how can I extend it to also autocomplete from .bash_history?

I love path autocompletion, but one thing I miss is that if the last time I used a command was with a long set of arguments, and I want to repeat that (without writing a script), I can't type >...
Cris's user avatar
  • 13
1 vote
1 answer
644 views

iterm2's drop-down auto command complete doesn't work on remote sessions

On remote hosts via ssh the cmd + ; command works in displaying part of the suggested command but the "Auto Command Completion" feature doesn't. How can I make the shown feature here work on remote ...
Vladimir's user avatar
  • 285
1 vote
0 answers
767 views

ZSH auto-completion help not triggering for custom command options beginning with "--"

I often use the gencomp command with RobSis's zsh-completion-generator to generate ZSH completion definitions, and it works great for the most part! There is, however, one small caveat that I have ...
blizzrdof77's user avatar
0 votes
1 answer
299 views

Is there a way to set default tab completions in a linux terminal?

A single table auto-completes if there is only one option amflare:~$ cd t [tab] est-dir/ amflare:~/test-dir/$ Double tab displays all option if there is more then one amflare:~$ cd t [tab][tab] ...
amflare's user avatar
  • 131
2 votes
1 answer
1k views

Run command on tab completion in zsh

I'm trying to set up a zsh function that will take me back to the top level git directory with an optional argument to move relative to that directory. I've currently got this which works: alias ...
Josh Sherick's user avatar
3 votes
1 answer
893 views

bash autocomplete fails with wildcard

Using bash on this this system: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux The sequence: cd /tmp touch test1.txt && touch test2.txt && ...
alle_meije's user avatar
2 votes
0 answers
150 views

Adding path delimiter on autocomplete in Windows cmd

In the Terminal on OSX, when you press Tab to autocomplete a directory name, a / delimiter gets added for you, so you can immediately type your next entry. Is there a way to have the same behavior ...
jenkins's user avatar
  • 121

15 30 50 per page