Commit Graph

3 Commits

Author SHA1 Message Date
Erich Gubler 05ba6cfbe5
fix(zsh): append `_zoxide_precmd` as a single-element array to hook
We should append `_zoxide_precmd` to `precmd_functions` within an array literal, not by itself.

This is important because...well, nothing works unless you append an *array* to another array, because that's what's expected in `zsh` and `bash`! Is it weird? Yes. But that's the type system we live with!
2020-03-08 20:41:46 -06:00
Ajeet D'Souza c88210ccce Add check for precmd_function before adding to it 2020-03-08 08:15:02 +05:30
Ajeet D'Souza 68a426216d Initial commit 2020-03-05 20:06:58 +05:30