1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

One character alias prevents completion?

Discussion in 'Support' started by Rodolfo, Sep 12, 2011.

  1. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I have an alias
    e=*dir /A:
    if I type e followed by a space and then I press [TAB] it shows nothing.
    As a test, I added another alias
    ee=*dir /A:
    Now, if I type ee followed by a space and then I press [TAB] it completes names.
    It seems that it is the same also for version 12.11 and that I never realized it.
    Is it a wanted behaviour?

    Thank You and regards

    Rodolfo Giovanninetti
     
  2. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I found that if I type
    e <space> [TAB]
    it does not show files but directories.
    When I wrote the previous message I was working in TakeCommand directory where I have only files.
    If I add another alias
    a=*dir /A:
    it seems to work, so the issue is related only with alias "e"?

    Thank You again and regards

    Rodolfo Giovanninetti</space>
     
  3. fishman@panix.com

    Joined:
    Feb 21, 2009
    Messages:
    83
    Likes Received:
    0
    This works for me

    e*psilon=c:\epsilon\bin\epsilonc.exe

    I type the single character e and it starts EpsilonC.

    Harvey
     
  4. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I did some other tests, and I found that even if
    I unalias e
    I type e <space> [TAB]
    it completes only directories, not files
    So, is the single letter e at the beginning of the line handled in a special way?

    It is possible that it is described in the manual, but I could not find a anything.

    Thank You very much again and regards

    Rodolfo Giovanninetti</space>
     
  5. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I apologize if I did not explain what I meant.
    I did not mean the completion of the alias itself, but of names that should appear on the command line.
    If You type the letter e, followed by a space, and then press [TAB], it should show files and directories that are in Your current directory, one per time.
    Does it work for You?

    Thank You and regards

    Rodolfo Giovanninetti
     
  6. fishman@panix.com

    Joined:
    Feb 21, 2009
    Messages:
    83
    Likes Received:
    0
    It seems that if I type ANY single character followed by a space and then press TAB it shows the files in the current directory, one for each time I press TAB.

    Harvey
     
  7. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    12.11.76 x64 Windows 7 does not behave that way for me. It appears to work as expected.-- Sent from my HP TouchPadOn Sep 12, 2011 9:25, Rodolfo <> wrote: I did some other tests, and I found that even if
    I unalias e
    I type e <space> [TAB]
    it completes only directories, not files
    So, is the single letter e at the beginning of the line handled in a special way?

    It is possible that it is described in the manual, but I could not find a anything.

    Thank You very much again and regards

    Rodolfo Giovanninetti</space>
     
  8. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    In my case it works for other single character, BUT NOT for "e".
    Does it work for You for e?

    Thank You again and regards

    Rodolfo Giovanninetti
     
  9. Rodolfo

    Joined:
    May 20, 2009
    Messages:
    213
    Likes Received:
    0
    I am ashamed! I had added an option in the completion section so that e completed only dirs (the same that I have for rd, for example)!
    Sorry for wasting Your time!

    Thank You very much again and regards

    Rodolfo Giovanninetti
     

Share This Page