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

Re: workers/40626 (commit 6c476c22) causes multiple test failures



On Feb 28,  5:03pm, Daniel Shahaf wrote:
}
} > So here's my question ... why would you ever attempt to append to the
} > options parameter, empty append or otherwise?
} 
} To set multiple options at once:
} 
}     local -a options_to_set=( printexitvalue on warncreateglobal off )
}     options+=( $options_to_set )

My point is you don't need append for that.

    options=( $options_to_set )

will do exactly the same thing, because it's not possible to delete any
of the hash keys even if you don't appear to be assigning them.



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