Closed foray1010 closed 6 years ago
I also switched to [[
and added mkdir
in case ~/.zr
does not exist
https://github.com/jedahan/zr/commit/343d8c9904e29d7c653ce8ada2444528cbefca3b
# Generate new ~/.zr/init.zsh if it does not exist or ~/.zshrc is newer
if [[ ! -f ~/.zr/init.zsh ]] || [[ ~/.zshrc -nt ~/.zr/init.zsh ]]; then
test -d ~/.zr || mkdir $_
i guess mkdir
is not needed as zr
somehow automatically created for me
<3 when users know the software better than the author :) . Removed in https://github.com/jedahan/zr/commit/dff1ef625dc3ef7096e442b62fca9c8cdd9ea5c4
current docs confused new users as they cannot generate
~/.zr/init.zsh
by just following the readme