mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Show local executables for kityt command completion even without ./
This commit is contained in:
@@ -31,7 +31,7 @@ func complete_kitty(completions *Completions, word string, arg_num int) {
|
||||
}
|
||||
}
|
||||
|
||||
if len(word) > 0 && (filepath.IsAbs(word) || strings.HasPrefix(word, "./") || strings.HasPrefix(word, "~")) {
|
||||
if len(word) > 0 {
|
||||
mg := completions.add_match_group("Executables")
|
||||
mg.IsFiles = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user