News for hackers. Stuff that matters.
Re:Zshell by a_e_k on Thursday March 07, 2024 @07:38PM (#39636388)
I find that feature also interacts very nicely when editing parallel paths. E.g.:

    prog/libs/foo┃/src/CMakeList.txt             Start with one path
    prog/libs/some┃/src/CMakeList.txt            Edit the middle part
    prog/libs/somelongname/src/CMakeList.txt┃    Press tab, completes middle and jumps to end
I was also thrilled when I noticed zsh contextually skipping some potential completions that I'd already had on my command line. E.g., if I have files `aaa` and `aab` in a directory, then hitting tab on

    git add aaa a┃
will do the right thing and immediately complete to `aab` without further prompting. (Better yet, it also does that if I'd added `aaa` with a previous command!)

There are no comments on this comment yet.