dotfiles/home/.chezmoiscripts/run_once_after_10_install_zinit.sh
2023-03-04 17:45:19 +08:00

11 lines
206 B
Bash

#!/bin/bash
if [ -d "$HOME/.zinit/bin" ]; then
exit 0
fi
if ! git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin; then
>&2 echo "clone zinit into ~/.zinit/bin failed"
exit 1
fi