mridgers / clink

Bash's powerful command line editing in cmd.exe
mridgers.github.io/clink
GNU General Public License v3.0
3.19k stars 283 forks source link

Strange completion - suggested file is outside of current directory #66

Closed ghost closed 10 years ago

ghost commented 10 years ago

From ConEmu.M...@gmail.com on October 29, 2012 01:08:09

Win7 x64, Latest clink builded from sources, Started with "clink.bat" from Win+R, no ConEmu :)

Strange behavior, when I cd to some folder and type "new" in prompt after pressing "Tab" clink suggests "newdev.exe " (with trailing space). But, there is a file "NEWSCIV.EXE" in CURRENT folder, and no "newdev.exe".

newdev.exe exists in C:\Windows\System32\ only.

Copypaste below...

clink vDEV git:? 2012 Martin Ridgers http://code.google.com/p/clink Copyright (c) 1994-2012 Lua.org, PUC-Rio Copyright (c) 1987-2010 Free Software Foundation, Inc.

T:\Far3\ConEmu\clink>cd /d C:\Games.DOS\LARRY1

C:\Games.DOS\LARRY1>newdev.exe 10.TEX IBMKBD.DRV READ.ME RESOURCE.CFG VERSION ADL.DRV INTERP.TXT RESOURCE.000 RESOURCE.MAP VGA320.DRV DIGITAL.CFG LARRY.DRV RESOURCE.001 SNDBLAST.DRV stderr.txt DIGITAL.DRV NEWSCIV.EXE RESOURCE.002 STD.DRV stdout.txt C:\Games.DOS\LARRY1>newdev.exe

Attachment: 2012-10-29_04-02-30.png

Original issue: http://code.google.com/p/clink/issues/detail?id=67

ghost commented 10 years ago

From martin.r...@gmail.com on October 29, 2012 11:54:06

This is deliberate - see issue 65 for details.

Status: Duplicate
Owner: martin.r...@gmail.com
Mergedinto: 65