subshell optimization
This commit is contained in:
parent
e368527ec5
commit
4363faa582
2 changed files with 6 additions and 7 deletions
5
init.sh
5
init.sh
|
@ -13,12 +13,9 @@ fi
|
||||||
#setup prezto
|
#setup prezto
|
||||||
echo "Initializing Prezto"
|
echo "Initializing Prezto"
|
||||||
(zsh prezto.zsh)
|
(zsh prezto.zsh)
|
||||||
#fix permissions to avoid compaudit flag
|
|
||||||
chmod -R go-w ~/.zprezto
|
|
||||||
|
|
||||||
#create symlinks using stow
|
#create symlinks using stow
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh
|
||||||
mkdir ~/.config/systemd/user/
|
|
||||||
echo "Stowing Configs"
|
echo "Stowing Configs"
|
||||||
stow tmux
|
stow tmux
|
||||||
stow vim
|
stow vim
|
||||||
|
@ -41,7 +38,7 @@ if [ ! -e ~/.space-vim ]
|
||||||
then
|
then
|
||||||
mv "$HOME/.vim" "$HOME/vim_bk"
|
mv "$HOME/.vim" "$HOME/vim_bk"
|
||||||
mv "$HOME/.vimrc" "$HOME/vimrc_bk"
|
mv "$HOME/.vimrc" "$HOME/vimrc_bk"
|
||||||
curl -sLf https://spacevim.org/install.sh | bash
|
(curl -sLf https://spacevim.org/install.sh | bash)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#install Emacs Doom
|
#install Emacs Doom
|
||||||
|
|
|
@ -24,8 +24,10 @@ fi
|
||||||
|
|
||||||
#extra setup for powerlevel10k theme
|
#extra setup for powerlevel10k theme
|
||||||
echo "....configuring theme"
|
echo "....configuring theme"
|
||||||
#cd && curl -fsSLO https://raw.githubusercontent.com/romkatv/dotfiles-public/master/.purepower
|
|
||||||
ln -s $HOME/stevset/.p10k.zsh $HOME/
|
ln -s $HOME/stevset/.p10k.zsh $HOME/
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
#finally, fix permissions to avoid compaudit flag
|
||||||
|
chmod -R go-w ~/.zprezto
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue