automate zinit installation (beta)

This commit is contained in:
Stefen Auris 2021-05-27 22:22:52 -04:00
parent 4073e999d3
commit b911057646

View file

@ -2,3 +2,11 @@
echo "Remove Emacs"
sudo apt autoremove emacs emacs-nox ripgrep markdown shellcheck fd-find
rm -r --interactive=never $HOME/.emacs.d $HOME/.doom.d
echo "Install zinit"
rm ~/.zshrc
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"
#This will install Zinit in ~/.zinit/bin. .zshrc will be updated with three lines of code that wi │ ll be added to the bottom. The lines will be sourcing zinit.zsh and setting up completion for com │ mand zinit. After installing and reloading the shell compile Zinit with zinit self-update.
ln ~/stevset/zsh/.zshrc ~/.zshrc
ln ~/stevset/zsh/aliases.zsh ~/.zsh_aliases
source ~/.zshrc