script cleanup
This commit is contained in:
parent
a8cd608f8a
commit
d726a6812c
4 changed files with 27 additions and 25 deletions
13
prezto.zsh
13
prezto.zsh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/zsh
|
||||
#Initializes Prezto
|
||||
echo "initialize submodules and clone prezto"
|
||||
git clone --recursive -j 4 https://github.com/steveokard/prezto.git "$HOME/stevset/prezto/.zprezto"
|
||||
|
||||
#Remove old stuff
|
||||
echo "....Creating symlinks"
|
||||
rm -rf ~/.zshrc ~/.zsh ~/.zprofile ~/.zlogin ~/.zlogout ~/.zpreztorc ~/.zshenv
|
||||
|
@ -12,17 +12,10 @@ for rcfile in "${ZDOTDIR:-$HOME}"/stevset/prezto/.zprezto/runcoms/^README.md(.N)
|
|||
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
||||
done
|
||||
|
||||
#Fix History if it exists
|
||||
if test -f "~/.zsh_history"; then
|
||||
cat ~/.zsh_history > ~/.zhistory
|
||||
fi
|
||||
|
||||
#extra setup for powerlevel10k theme
|
||||
#setup theme
|
||||
echo "remember to run p10k configure to configure the theme!"
|
||||
#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
|
||||
|
||||
#finally, fix permissions to avoid compaudit flag
|
||||
chmod -R go-w ~/.zprezto
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue