git submodules fully update
This commit is contained in:
parent
046f04ddf1
commit
677efa5108
2 changed files with 8 additions and 13 deletions
15
init.sh
15
init.sh
|
@ -3,6 +3,10 @@
|
||||||
echo "installing required packages"
|
echo "installing required packages"
|
||||||
bash deps.sh
|
bash deps.sh
|
||||||
|
|
||||||
|
#setup prezto
|
||||||
|
echo "Initializing Prezto"
|
||||||
|
zsh prezto.zsh
|
||||||
|
|
||||||
#create symlinks using stow
|
#create symlinks using stow
|
||||||
echo "Stowing Configs"
|
echo "Stowing Configs"
|
||||||
stow tmux
|
stow tmux
|
||||||
|
@ -13,13 +17,9 @@ if [ ! "~/.ssh" ]
|
||||||
then
|
then
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh
|
||||||
fi
|
fi
|
||||||
stow ssh
|
ln -s "$HOME/stevset/ssh/config" "$HOME/.ssh/config"
|
||||||
chmod -R 0600 ~/.ssh/*
|
chmod -R 0600 ~/.ssh/*
|
||||||
ln -s "$HOME/stevset/mc" ~/.config/mc
|
ln -s "$HOME/stevset/mc" "$HOME/.config/mc"
|
||||||
|
|
||||||
#setup prezto
|
|
||||||
echo "Initializing Prezto"
|
|
||||||
zsh prezto.zsh
|
|
||||||
|
|
||||||
#set new shell
|
#set new shell
|
||||||
echo "Set new shell to zsh"
|
echo "Set new shell to zsh"
|
||||||
|
@ -54,9 +54,6 @@ if [[ $answer = "Y" ]] || [[ $answer = "y" ]]; then
|
||||||
git config --global user.email "$email"
|
git config --global user.email "$email"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Initializing Submodules"
|
|
||||||
git submodule init && git submodule update
|
|
||||||
|
|
||||||
echo "*******************************"
|
echo "*******************************"
|
||||||
echo "* Restart your terminal *"
|
echo "* Restart your terminal *"
|
||||||
echo "*******************************"
|
echo "*******************************"
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
echo "initialize submodules and clone prezto"
|
echo "initialize submodules and clone prezto"
|
||||||
git clone --recursive https://github.com/steveokard/prezto.git "$HOME/stevset/prezto/.zprezto"
|
git clone --recursive https://github.com/steveokard/prezto.git "$HOME/stevset/prezto/.zprezto"
|
||||||
#fix submodules once and for all
|
#fix submodules once and for all
|
||||||
cd $HOME/stevset/prezto/.zprezto && git submodule update --remote
|
cd $HOME/stevset/prezto/.zprezto && git submodule update --remote && git submodule update
|
||||||
|
|
||||||
#Remove old stuff
|
#Remove old stuff
|
||||||
#zlogin zlogout zpreztorc zprofile zshenv zshrc
|
|
||||||
echo "....Creating symlinks"
|
echo "....Creating symlinks"
|
||||||
rm -rf ~/.zshrc ~/.zsh ~/.zprofile ~/.zlogin ~/.zlogout ~/.zpreztorc ~/.zshenv
|
rm -rf ~/.zshrc ~/.zsh ~/.zprofile ~/.zlogin ~/.zlogout ~/.zpreztorc ~/.zshenv
|
||||||
|
|
||||||
|
@ -23,8 +22,7 @@ fi
|
||||||
|
|
||||||
#extra setup for powerlevel10k theme
|
#extra setup for powerlevel10k theme
|
||||||
echo "....configuring theme"
|
echo "....configuring theme"
|
||||||
rm ~/.purepower
|
|
||||||
cd && curl -fsSLO https://raw.githubusercontent.com/romkatv/dotfiles-public/master/.purepower
|
cd && curl -fsSLO https://raw.githubusercontent.com/romkatv/dotfiles-public/master/.purepower
|
||||||
|
|
||||||
rm $HOME/.zprezto/modules/prompt/functions/prompt_powerlevel10k_setup
|
rm $HOME/.zprezto/modules/prompt/functions/prompt_powerlevel10k_setup
|
||||||
ln -s $HOME/.zprezto/modules/prompt/external/powerlevel10k/prompt_powerlevel10k_setup $HOME/.zprezto/modules/prompt/functions/prompt_powerlevel10k_setup
|
ln -s $HOME/.zprezto/modules/prompt/external/powerlevel10k/prompt_powerlevel10k_setup $HOME/.zprezto/modules/prompt/functions/prompt_powerlevel10k_setup
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue