-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
piotrek-szczygiel/clink-chocolatey
#16Labels
bugSomething isn't workingSomething isn't working
Description
I found a strange behavior on completing a filename argument after alias command defined by doskey.
This occurs when the filename body is a built-in command name, like 'ver', 'dir', 'time', etc.
Situation:
- only the file 'ver.txt' exists in the current directory.
- command 'dir' is a normal non-alias command.
- command 'aaa' is an alias command via doskey.
- do TAB completion after partial input.
Behavior:
partial input | completion result | judgement |
---|---|---|
dir ver |
dir ver.txt |
good |
dir ver. |
dir ver.txt |
good |
dir ver.t |
dir ver.txt |
good |
dir ver.tx |
dir ver.txt |
good |
aaa ver |
aaa ver.txt |
good |
aaa ver. |
aaa ver. |
bad |
aaa ver.t |
aaa ver.t |
bad |
aaa ver.tx |
aaa ver.tx |
bad |
BTW, these hehavior does not occur on 2nd. or later argument.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working