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