mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 10:51:55 +00:00
...
This commit is contained in:
parent
3326e9ef49
commit
c47ccc8a59
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func complete_files(prefix string, callback CompleteFilesCallback) error {
|
|||
return nil
|
||||
}
|
||||
completion_candidate := path
|
||||
if strings.HasPrefix(completion_candidate, prefix) {
|
||||
if strings.HasPrefix(completion_candidate, prefix) && completion_candidate != prefix {
|
||||
return callback(completion_candidate, abspath, d)
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue