mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 21:20:08 +00:00
CompleteFiles resolved the prefix with filepath.Abs, which uses the process cwd, instead of the cwd it was given. For the completers that are relative to the config directory, like kitty --session and launch --watcher, a prefix such as sessions/ was looked up under the shell's cwd, so completing inside a sub-directory of the config directory gave nothing, or the contents of a same named directory in the shell's cwd. Resolve relative prefixes against the given cwd instead. |
||
|---|---|---|
| .. | ||
| markup | ||
| bash.go | ||
| command.go | ||
| completion-main.go | ||
| completion-parse-args.go | ||
| completion.go | ||
| files.go | ||
| files_test.go | ||
| fish.go | ||
| fish_test.go | ||
| group.go | ||
| help.go | ||
| option-from-string.go | ||
| option.go | ||
| parse-args.go | ||
| types_test.go | ||
| wcswidth_kitten.go | ||
| zsh.go | ||