initial trial of zinit
This commit is contained in:
parent
dc8ca8781d
commit
3435255268
5 changed files with 325 additions and 34 deletions
11
init.sh
11
init.sh
|
@ -13,9 +13,12 @@ fi
|
|||
#setup prezto
|
||||
echo "Select which shell to configure and use: zsh/fish/bash"; read -r answer
|
||||
if [[ $answer = "zsh" ]] || [[ $answer = "z" ]]; then
|
||||
echo "Initializing Prezto"
|
||||
zsh prezto.zsh
|
||||
chsh -s /bin/zsh
|
||||
echo "Initializing ZSH"
|
||||
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 will be added to the bottom. The lines will be sourcing zinit.zsh and setting up completion for command zinit. After installing and reloading the shell compile Zinit with zinit self-update.
|
||||
zinit self-update
|
||||
zinit update
|
||||
chsh -s /bin/zsh
|
||||
elif [[ $answer = "fish" ]] || [[ $answer = "f" ]]; then
|
||||
echo "Installing Oh-My-Fish"
|
||||
bash fish.sh
|
||||
|
@ -29,7 +32,7 @@ mkdir ~/.ssh
|
|||
echo "Stowing Configs"
|
||||
stow tmux
|
||||
stow vim
|
||||
stow prezto
|
||||
stow zsh
|
||||
stow config
|
||||
chmod 0700 ~/.ssh
|
||||
chmod -R 0600 ~/.ssh/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue