cmp-path icon indicating copy to clipboard operation
cmp-path copied to clipboard

Paths containing colons break autocomplete

Open aryzing opened this issue 3 years ago • 2 comments

Whenver a path has a colon, cmp-path stops working.

For example, given a log file in ./my/path/2022-08-22T10:00/log.txt, autocomplete will suggest every part of the path except log.txt,

INPUT                        SUGGESTION
./|                          -> my/
./my/|                       -> path/
./my/path/|                  -> 2022-08-22T10:00/
./my/path/2022-08-22T10:00/| -> (no suggestions from cmp-path)

aryzing avatar Aug 22 '22 19:08 aryzing

adding to this, if on windows starting a path with

C:/

does not start autocompletion, but

/

does

DWIAltonaAnalytics avatar Apr 11 '25 05:04 DWIAltonaAnalytics

PR #60 should fix this.

DWIAltonaAnalytics avatar Apr 11 '25 05:04 DWIAltonaAnalytics