Revert "incorporated prezto script into main init"
This reverts commit 80e49da031
.
This commit is contained in:
parent
80e49da031
commit
ed0d67afb2
2 changed files with 15 additions and 14 deletions
15
init.sh
15
init.sh
|
@ -15,20 +15,7 @@ ln -s /home/`whoami`/stevset/mc ~/.config/mc
|
||||||
|
|
||||||
#setup prezto
|
#setup prezto
|
||||||
echo "Initializing Prezto"
|
echo "Initializing Prezto"
|
||||||
|
zsh prezto.zsh
|
||||||
#Remove old stuff
|
|
||||||
rm -rf ~/.zshrc ~/.zsh ~/.zprofile
|
|
||||||
|
|
||||||
#Make Environment Links, per github readme
|
|
||||||
setopt EXTENDED_GLOB
|
|
||||||
for rcfile in "${ZDOTDIR:-$HOME}"/stevset/prezto/.zprezto/runcoms/^README.md(.N); do
|
|
||||||
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
|
||||||
done
|
|
||||||
|
|
||||||
#Fix History if it exists
|
|
||||||
if [ -f ~/.zsh_history ]
|
|
||||||
cat ~/.zsh_history > ~/.zhistory
|
|
||||||
fi
|
|
||||||
|
|
||||||
#set new shell
|
#set new shell
|
||||||
echo "set new shell to zsh"
|
echo "set new shell to zsh"
|
||||||
|
|
14
prezto.zsh
Executable file
14
prezto.zsh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
#Initializes Prezto
|
||||||
|
|
||||||
|
#Remove old stuff
|
||||||
|
rm -rf ~/.zshrc ~/.zsh ~/.zprofile
|
||||||
|
|
||||||
|
#Make Environment Links, per github readme
|
||||||
|
setopt EXTENDED_GLOB
|
||||||
|
for rcfile in "${ZDOTDIR:-$HOME}"/stevset/prezto/.zprezto/runcoms/^README.md(.N); do
|
||||||
|
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
|
||||||
|
done
|
||||||
|
|
||||||
|
#Fix History if it exists
|
||||||
|
cat ~/.zsh_history > ~/.zhistory
|
Loading…
Add table
Add a link
Reference in a new issue