mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 21:20:08 +00:00
CompleteExecutablesInPath excluded directories with e.IsDir(), but that is false for a symlink pointing at a directory. Directories are executable in the access(2) sense, so such a symlink sitting in a PATH entry passed the X_OK check and was offered as a command. Use the existing is_dir_or_symlink_to_dir helper, which already makes this distinction elsewhere in the file. |
||
|---|---|---|
| .. | ||
| markup | ||
| bash.go | ||
| command.go | ||
| completion-main.go | ||
| completion-parse-args.go | ||
| completion.go | ||
| files.go | ||
| files_test.go | ||
| fish.go | ||
| group.go | ||
| help.go | ||
| option-from-string.go | ||
| option.go | ||
| parse-args.go | ||
| types_test.go | ||
| wcswidth_kitten.go | ||
| zsh.go | ||