Allow using a base directory other than the cwd when completing files

This commit is contained in:
Kovid Goyal
2022-09-16 14:17:07 +05:30
parent c5afceb4cb
commit f657e6e916
3 changed files with 16 additions and 6 deletions

View File

@@ -41,6 +41,6 @@ func complete_kitty(completions *Completions, word string, arg_num int) {
} else if unix.Access(entry.abspath, unix.X_OK) == nil {
mg.add_match(entry.completion_candidate)
}
})
}, "")
}
}