dotfiles/home/.chezmoiscripts/run_once_after_10_install_zinit.sh

11 lines
206 B
Bash
Raw Normal View History

2023-02-26 15:48:36 +00:00
#!/bin/bash
2023-03-04 09:45:19 +00:00
if [ -d "$HOME/.zinit/bin" ]; then
exit 0
fi
2023-02-26 15:48:36 +00:00
if ! git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin; then
>&2 echo "clone zinit into ~/.zinit/bin failed"
exit 1
fi