[shell] Avoid side-effects during eval (#3459)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Take two. * Avoid eval if the prefix contains `:=` * This is not to evaluate variable assignment. e.g. ${FOO:=BAR} * [zsh] Prevent `>(...)` form * Suppress error message from prefix evaluation * Stop completion when prefix evaluation failed Thanks to @calestyo
authored by Junegunn Choi · committed by Junegunn Choi · parent e833823 · Browse files · 2 files+6 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+6 added−6 removed
- other:+6 added−6 removed