Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
4answers
229 views

cd + bash completion script

I have web projects in /var/www/projects/some/long/path/strange-project-name Now I want to type in terminal: webs str{TAB} It should autocomplete to the webs strange-project-name (basing on ls ...
2
votes
3answers
455 views

How to edit command completion for ssh on bash?

(I've asked this question regarding zsh, but I also use bash and would find it useful there too--as I'm guessing many others would too since bash has many more users than zsh.) I'd like to set up ...
3
votes
4answers
744 views

How to edit command completion for ssh on zsh?

I'd like to set up command completion on zsh to display host names after I type ssh [TAB] taking the names out of my .ssh/config file (and preferably from known_hosts and /etc/hosts and anywhere ...
0
votes
1answer
478 views

Bash Completion Script Help

So I'm just starting to learn about bash completion scripts, and I started to work on one for a tool I use all the time. First I built the script using a set list of options: _zf_comp() { local ...
1
vote
1answer
641 views

How to get both tab completion and readline editing in mingw/msys shell?

I'm running msys 1.0 on Win2K using the rxvt.exe terminal. By default, tab-completion works, but when I do 'set -o vi' to enable vi-readline editing, tab-completion stops working. Surely I can have my ...
3
votes
1answer
706 views

Stop bash tab completion from thinking I want to cd into .svn directories

I have a folder structure that's in subversion. There are a whole pile of top level directories that have only 1 sub folder. (eg src/com/example). Normally when I want to cd into the example folder I ...
5
votes
3answers
550 views

Getting more helpful tab completion prompts in bash?

Let's say I have a directory with a few files in it like this: $ ls file1 file2 file3 And I want to do some tab completion in bash: $ cat file<tab> file1 file2 file3 I remember seeing ...
3
votes
4answers
2k views

TAB completon and mc problems

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION="Ubuntu 8.10" This is the server version. When I ssh into it, I encounter the following problems: Problem 1 ...