One character alias prevents completion?

May 20, 2009
293
5
57
ITALY
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
 
May 20, 2009
293
5
57
ITALY
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>
 
Feb 21, 2009
124
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

This works for me

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

I type the single character e and it starts EpsilonC.

Harvey
 
May 20, 2009
293
5
57
ITALY
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>
 
May 20, 2009
293
5
57
ITALY
This works for me

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

I type the single character e and it starts EpsilonC.

Harvey
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
 
Feb 21, 2009
124
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

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
 
May 20, 2008
603
0
Sammamish, WA
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>
 
May 20, 2009
293
5
57
ITALY
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
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
 
May 20, 2009
293
5
57
ITALY
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
 
Similar threads
Thread starter Title Forum Replies Date
nikbackm Alias expansion and switch character Support 2
vefatica WAD TCC: inconsistent character handling Support 11
vefatica @INT with comma as decimal character Support 2
vefatica What's this character? Support 12
rps Regex problem: \xnn not recognized as a hex character Support 0
old coot Regex problem: \xnn not recognized as a hex character Support 12
L How to? Character transfer among @BALLOC buffers, command tails, and possibly redirected standard streams Support 11
D How to? Filenames with "&" character Support 3
samintz WAD Copy/append adds a character Support 3
B Fixed FFIND doesn't find last character in file without CR/LF at EOF Support 1
M I'm unable to use @replace[] with a % character in string2 Support 12
Exolon V17 beta, debugger: STRG-S is inserting character instead of saving Support 12
J Passing % character through command line to .btm Support 5
M Fixed character set in dir/copy Support 3
dcantor Fixed Ctrl+Shift+Insert repeats last character Support 3
D Copy to clip changes character Support 24
S Fixed Build 48 - Non-ASCII Character mishandling Support 3
W Ascii character output Support 12
nickles Literal tab character Support 21
S Forum character encoding Support 2
M Escape-character issue... Support 7
vefatica @SUBST ... how replace character with a caret? Support 9
M Programmatically getting the console width in character Support 18
J How to pass a character like " " to a function Support 3
Jay Sage Dealing With Filenames Containing Slash Character Support 5
B A swedish character sent through keystack gets converted Support 4
D Can alias pass parameters to for command? Support 3
Jay Sage Issue with CD_ENTER Alias Support 37
Jay Sage Issue with CD_LEAVE Alias Support 3
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
R @select inside alias gives different (insanely small) window Support 7
kb6ojs ALIAS with multiple commands? Support 9
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
D Alias with setdos no longer works Support 21
vefatica TPIPE in an alias? Support 2
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
Peter Murschall CMDebug 26.01.37 has problems with Alias Support 21
samintz How to? Alias or prompt? Support 1
MickeyF expand alias in cmdline with Ctrl-F in TCC Support 21
Jay Sage Directory Alias Access to FTP Servers Support 2
rps How to? Shralias and producing history.sav, alias.sav .. Support 6
J Alias @@F5 hotkey Support 2
vefatica alias.sav not accurate Support 8
Joe Caverly Using a Directory Alias with @iniwrite fails Support 14
N multiple command alias and redirection Support 0
vefatica SETLOCAL ... ALIAS ... pipes Support 2
B TCC 21.01.50 Problem with ALIAS /r and SET /r Support 2
rps How to? Alias/Command line use of *log on/off Support 2
MickeyF alias terminating before it should Support 3
JohnQSmith ALIAS /R in TCSTART.BTM Support 9

Similar threads