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
|
#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
|
||||||
echo "Stowing Configs"
|
echo "Stowing Configs"
|
||||||
|
@ -20,21 +22,11 @@ stow tmux
|
||||||
stow vim
|
stow vim
|
||||||
stow emacs
|
stow emacs
|
||||||
stow prezto
|
stow prezto
|
||||||
if [ ! "~/.ssh" ]
|
stow config
|
||||||
then
|
|
||||||
mkdir ~/.ssh
|
|
||||||
stow ssh
|
|
||||||
fi
|
|
||||||
chmod 0700 ~/.ssh
|
chmod 0700 ~/.ssh
|
||||||
chmod -R 0600 ~/.ssh/*
|
chmod -R 0600 ~/.ssh/*
|
||||||
cp "$HOME/stevset/mc" "$HOME/.config/mc"
|
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
|
#set new shell
|
||||||
echo "Set new shell to zsh"
|
echo "Set new shell to zsh"
|
||||||
if [[ $SHELL != "/bin/zsh" ]]
|
if [[ $SHELL != "/bin/zsh" ]]
|
||||||
|
@ -57,7 +49,6 @@ if [ ! -d ~/.emacs.d ]
|
||||||
then
|
then
|
||||||
ln -s "$HOME/stevset/emacs/.spacemacs" "$HOME/.spacemacs"
|
ln -s "$HOME/stevset/emacs/.spacemacs" "$HOME/.spacemacs"
|
||||||
git clone https://github.com/syl20bnr/spacemacs "$HOME/.emacs.d"
|
git clone https://github.com/syl20bnr/spacemacs "$HOME/.emacs.d"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Would you like to configure your git name and email? (y/n) => "; read answer
|
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