The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
2answers
1k views

Setting up tab-completion of paths in bash or zsh to resemble tcsh

I’m a long time tcsh user, but all the cool kids seem to be using either bash or zsh nowadays (that is, completion patterns for git or stuff are available for bash and zsh, rarely for tcsh). My ...
1
vote
1answer
683 views

File completion colors for zsh

When I use Tab to complete a filename and more than one file matches, zsh uses an unsuitable color. Consider the following screenshot which exemplifies the problem: I have entered vi .zsh and ...
4
votes
1answer
192 views

How can I enable colored completion in Vim?

I understand that this questions could be a bit unclear, but I think an example will help. I'm in Vim and want to open a file. There are a few files in my directory and some have the same prefix. I ...
13
votes
1answer
2k views

Make bash's tab-completion case-insensitive [duplicate]

Possible Duplicate: Case insensitive tab completion in Bash Is there any way to make the tab-completion in bash case-insensitive? For instance, if I have a file called Hello.txt and try to ...
10
votes
3answers
2k views

Bash completion makes bash start slowly

Starting a bash on my ubuntu system takes about 2 seconds. If I remove loading /etc/bash_completition in .bashrc it starts without delay. Of course I don't want to give up completition and I don't ...
1
vote
1answer
604 views

bash-completion only after sourcing .bash_profile

I have bash-completion installed using macports and following lines in my .bash_profile if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi but the completion ...
6
votes
2answers
2k views

How can I get emacs under windows to autocomplete paths in shell buffers using “\” instead of “/”?

I'm using emacs to work on linux, windows, osx and everything is fine except one annoying problem with shell buffers under windows. Autocompleting filenames would work great (better than standard ...
5
votes
2answers
265 views

How do I abort building the list for tab completion without losing the command?

some_very_long_command_line --arg1 --arg2=555 --arg4 ... ... ... && <now Tab pressed> (Now it works. I want to cancel before the following message) Display all 6936 possibilities? (y or ...
4
votes
1answer
2k views

How do I make bash do vim-like tab completion for file names?

I'd like for bash to rotate through the matching file names instead of listing them, like the default tab completion behavior in vim. Is there an easy command to do this? This is essentially the ...
0
votes
0answers
290 views

Slow tab completion for paths in`make' arguments

When I'm specifying an argument for make like PREFIX_PATH=/some/path/to/prefix/ I sometimes experience very slow completion for my directories (a few seconds). It's annoying when I've got several ...
1
vote
1answer
234 views

ZSH autocomplete second argument

I'm on my $HOME directory, there is a foo.zip file. I want to extract it into $HOME/work directory, which exists I type unzip foo it expands the filename, I enter but it doesn't expand the "w" to ...
2
votes
0answers
204 views

Branch names not showing in Mercurial's tab completion

I have a development machine running mercurial 1.6.3. Tab completion in bash works great for completing commands, tags and branch names. I've set up a new machine with the same mercurial version (both ...
0
votes
1answer
484 views

TextMate on OS X - tab completion not working

What gives. I'm obviously being really thick. I open a file using TextMate (mate r1577 (2010-11-18)) on Mac OS X (10.5.8) When I try and use tab to complete a snippet, for example vp<TAB> does ...
2
votes
0answers
270 views

Escaping spaces in tab-completion in a Cygwin shell subprocess on GNU Emacs on Windows

I use GNU Emacs on Windows and Cygwin as my shell. If I create a Cygwin shell subprocess with M-x shell, I get a proper bash prompt. If I type this: cd ~/My<tab> it tab-completes to cd ...
2
votes
2answers
307 views

Can I ignore dot files with cmd.exe tab completion?

I unfortunately need to work with cmd.exe from time to time and it usually doesn't bug me too much except when I am editing a file in vim and then try to run that file with tab-completion. If I have ...
2
votes
1answer
349 views

Filename tab completion within bash backtick environment

I'm on Ubuntu 10.04 and I've ran into a little bit of a snag with bash completions within backticks. Here's an example to illustrate: I save streaming URL:s to my radio-stations in text files, and I ...
6
votes
2answers
2k views

Smart tab completion (for directories)?

Are there shell versions that have a more intelligent tab completion? I'd like to be able to type cd foo-<TAB> Then it would show me the possible completions along with numbers that I can ...
4
votes
8answers
793 views

How to minimize typing when frequently changing directories?

What are some good Linux commands to make switching between different directories on the command line easier? I often have to switch between different directories with long names, e.g. cd ...