Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a 'modernized' cmd.exe and I find myself quite comfortable with Cygwin. However, I can't make Cygwin auto complete some "commands" I need (programs in SysInternal Suite like contig...).

I already added the programs path in PATH variables. It does work since I can use the programs regardless of current folder. But auto completion still ain't work.

A google search bring not much information. So I ask for your helps. Any ideas will be appreciated.

share|improve this question

Cygwin bash prompt does allow SysInternal Suite command names to be completed, as it does any other program in the PATH.

However, here are two possible gotchas for a new cygwin user (I am not implying that you are you are one ;) ):

  1. PATH variable must contain the path to the commands, in the 'cygwin format' (mounted under /cygdrive and using forward slashes)

    For example: If the Sysinternals Suite is installed under "c:\Program Files (x86)\SysinternalsSuite":

    export PATH="$PATH:/cygdrive/c/Program Files (x86)/SysinternalsSuite"

    Note: Cygwin automatically converts the Windows %PATH% environment variable to the proper format in the bash $PATH variable. So if you have extended the PATH in the Windows GUI, then you are most probably good.

    Double check content of PATH variable at cygwin bash prompt with:

    echo $PATH
  2. Completion is case-sensitive. So in the case of your example, you must start typing Contig.exe ... with a capital 'C'.

share|improve this answer
Welcome to SU and thanks for your first contribution. I only improved some minor formatting issues in your post. -- +1 for your second point! – mpy Jan 6 '14 at 15:13
@mpy Thanks for the edits – Ceredig Jan 6 '14 at 15:24
Why SU ain't notify the answer? I'll try your suggestion and feedback later :) – Tiana987642 Nov 23 '14 at 7:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .