summarylogtreecommitdiffstats
path: root/zinit.install
blob: 5688e4068b0c1d15a776bf464a30cdbb57f22a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
info() {
    zinit_dir="\033[1m/usr/share/zinit\033[0m"
    load_code="\033[0;33msource /usr/share/zinit/zinit.zsh\033[0m"
    echo -e "\033[0;36m============================提示/INFO===============================\033[0m"
    echo -e "Zinit 已安装在 $zinit_dir。"
    echo -e "现在你可以在你的 zshrc 中用 $load_code 加载 zinit。"
    echo
    echo -e "Zinit has been installed in $zinit_dir."
    echo -e "Now you can use $load_code to load zinit in your zshrc."
    echo -e "\033[0;36m====================================================================\033[0m"
}
post_install() {
    info
}