martinvonz / jj

A Git-compatible VCS that is both simple and powerful
https://martinvonz.github.io/jj/
Apache License 2.0
9.32k stars 321 forks source link

completion: suggest file paths incrementally #4895

Open senekor opened 5 days ago

senekor commented 5 days ago

stacked on #4887 (teach commands about files)

If there are multiple files in a subdirectory that are candidates for completion, only complete the common directory prefix to reduce the number of completion candidates shown at once.

This matches the normal shell completion of file paths.

Checklist

If applicable: