tab-completion Questions
9
Solved
Let's say I have the following files in my current directory:
buildBar.bat
buildFoo.bat
buildHouse.bat
And I type the following at my command prompt, ./bu and then TAB.
In Bash, it gets expand...
Harlow asked 25/11, 2011 at 3:46
20
TAB completion works fine in iPython terminal, but not in Firefox browser.
So far I had tried but failed,
1). run a command $ sudo easy_install readline,
then the .egg file was wrote in /usr/l...
Emiliaemiliaromagna asked 12/11, 2015 at 5:32
3
Solved
I am running Ubuntu 13.10 and fish 2.1.0. I want to write myself a Python script to do some tasks from the command line. The script will require command line arguments.
How can I write my script s...
Java asked 30/12, 2013 at 11:8
4
I have a Git alias update that I would like to outfit with branch-name completion. The alias is defined like so:
[alias]
update = "!f() { git push . origin/$1:$1; }; f"
(It updates a local trac...
Postfree asked 12/11, 2018 at 21:25
4
Solved
I'm using argcomplete to have Tab completion in Bash.
argcomplete offers global completion for bash, but doesn't for zsh.
I would like to create a file ~/.zsh_completion, to contain the to be com...
Yonne asked 4/6, 2015 at 7:41
2
Solved
I have a script that requires as an argument the name of command and arguments of that command.
So I want to write a completion function that would complete the name of the command and would compl...
Solemnity asked 24/3, 2015 at 11:36
1
Solved
I was so used to the way of opening a file in Emacs, by just C-x C-f and typing and tab-completing, without needing to use a mouse. In VS Code, I have to go through a "open file" system d...
Mortgage asked 7/12, 2021 at 21:52
1
When doing tab-completion within bash (e.g. cd dir_ <TAB>), subsequent hits of Tab cause the list of matching options to be re-printed, once per hit of the Tab key (picture below). Each new l...
Ermentrude asked 18/1, 2018 at 23:3
2
Solved
In zsh, I have a function called g which acts like this:
with no arguments, call git status
with one or more arguments, delegate to git with all given arguments - i.e. call git $@
I would like ...
Agrarian asked 19/11, 2010 at 1:4
19
Tab completion on IPython seems not to be working. For example,
import numpy
numpy.<tab>
simply adds a tab.
import numpy
num<tab>
just adds a tab, too. Could you please suggest so...
Elaterium asked 8/4, 2010 at 22:10
1
Solved
The whole issue is discussed here and here. Since no one involved in those discussions was 100% sure about the issue, I'm asking for help here. (For the sake of completeness, I'll start from the be...
Coyne asked 17/4, 2021 at 9:39
1
Solved
I have windows 10 OS with WSL enabled and docker for windows installed.
When I type docker in PowerShell and hit tab, it suggests me with the corresponding folders and files in my working directory...
Shurlock asked 4/3, 2021 at 16:59
6
I've installed Mercurial (1.4.3-1) on ubuntu and it doesn't do tab completion in bash by default. What is the simplest way to enable this feature?
Fuentes asked 24/10, 2011 at 20:28
2
Is there a way to specify that a particular command has case insensitivity, without turning on case insensitivity globally (at least for that shell)?
In my particular case, I have a small app that...
Crooks asked 9/5, 2012 at 23:40
3
Solved
I'm trying to write a small command launcher application, and would like to use bash's tab completions in my own completion system. I've been able to get a list of completions for general commands ...
Grenoble asked 19/8, 2010 at 10:41
2
Within the Bash shell, I can use tab-completion to use suggest file and directory names. How can I achieve this with nodejs and readline?
Examples:
/<Tab> should suggest /root/, /bin/, etc...
Cochleate asked 17/4, 2013 at 19:31
6
Solved
I have a Bash tab-completion script for Apache's Hadoop. Normally, I use zsh as my day-to-day shell. It tends to be pretty bash-like when I need it to be, but it looks like the tab-completion syste...
Bricker asked 14/7, 2010 at 18:52
6
Has anybody been able to set up auto-complete for the AWS CLI with fish shell? The AWS documentation only offers the guide for bash, tcsh, and zsh.
Bash exports the variables COMP_LINE and COMP_PO...
Spongin asked 17/11, 2014 at 20:38
2
I am using zsh with oh-my-zsh on Ubuntu 18.04.2. Currently, Git is installed at version 2.20.1.
Whenever I want to checkout a local branch from a remote (origin) I try to use the tab completion in...
Updo asked 16/4, 2019 at 22:3
3
Solved
In IPython, I am used to write
function(
and then strike a tab, and get the contents of the docstring and a list of the named arguments. However, this stopped working since I installed IPython...
Gaona asked 3/4, 2014 at 23:2
2
Solved
I'm trying to figure out how to implement tab completion for subcommands in a C++ application. I would like it to function much like Git's tab completion. I'm trolling through Git's source, but it'...
Galling asked 10/3, 2011 at 4:11
6
Solved
I'm on OS X Mountain Lion, running the included ZSH shell (4.3.11) with Oh-My-ZSH installed over the top.
When using tab completion with commands such as homebrew, when ZSH lists the available com...
Babin asked 11/8, 2012 at 15:50
2
Solved
With new versions of git new commands have been added which I will probably never use.
Is there a way I can disable these commands so that I my tab completion is faster?
For ex: before, git check&l...
Fyrd asked 12/6, 2018 at 10:7
5
Solved
When I create an python3 virtual-env, tab-completion (default with python3) does not work any more. Why is that?
virtualenv -p /usr/bin/python3 --system-site-packages ~/venv3.site
. ~/venv3.site/b...
Postiche asked 9/11, 2015 at 13:9
5
Is it possible to make bash auto-completion look like in Cisco IOS shell?
I mean to add short descriptions for each completion, like this:
telnet 10.10.10. (TAB Pressed)
10.10.10.10 - routerA
1...
Isogonic asked 1/9, 2011 at 7:25
1 Next >
© 2022 - 2025 — McMap. All rights reserved.