setup for emacs daemon
This commit is contained in:
parent
b008def7df
commit
889dc15a58
1 changed files with 3 additions and 12 deletions
15
init.sh
15
init.sh
|
@ -13,6 +13,8 @@ fi
|
|||
#setup prezto
|
||||
echo "Initializing Prezto"
|
||||
zsh prezto.zsh
|
||||
#fix permissions to avoid compaudit flag
|
||||
chmod -R go-w ~/.zprezto
|
||||
|
||||
#create symlinks using stow
|
||||
echo "Stowing Configs"
|
||||
|
@ -20,21 +22,11 @@ stow tmux
|
|||
stow vim
|
||||
stow emacs
|
||||
stow prezto
|
||||
if [ ! "~/.ssh" ]
|
||||
then
|
||||
mkdir ~/.ssh
|
||||
stow ssh
|
||||
fi
|
||||
stow config
|
||||
chmod 0700 ~/.ssh
|
||||
chmod -R 0600 ~/.ssh/*
|
||||
cp "$HOME/stevset/mc" "$HOME/.config/mc"
|
||||
|
||||
#setup prezto
|
||||
echo "Initializing Prezto"
|
||||
zsh prezto.zsh
|
||||
#fix permissions to avoid compaudit flag
|
||||
chmod -R go-w ~/.zprezto
|
||||
|
||||
#set new shell
|
||||
echo "Set new shell to zsh"
|
||||
if [[ $SHELL != "/bin/zsh" ]]
|
||||
|
@ -57,7 +49,6 @@ if [ ! -d ~/.emacs.d ]
|
|||
then
|
||||
ln -s "$HOME/stevset/emacs/.spacemacs" "$HOME/.spacemacs"
|
||||
git clone https://github.com/syl20bnr/spacemacs "$HOME/.emacs.d"
|
||||
|
||||
fi
|
||||
|
||||
echo -n "Would you like to configure your git name and email? (y/n) => "; read answer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue