Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _expand_word_and_keep of 'keeper suite' doesn't work



On Dec 1, 11:57am, Hannu Koivisto wrote:
}
} The version of _expand_word_and_keep below (from the magazine
} article) doesn't seem to work in at least 4.2.5.  For some reason
} the condition [[ $args[-J] == all-expansions ]] is never true

The accept-exact and keep-prefix styles can cause _expand to skip
the call to compadd entirely, and styles that affect the value of
$compstate[insert] can cause it to skip the step that passes the -J
flag.  What are your zstyle settings?



Messages sorted by: Reverse Date, Date, Thread, Author