new tests

This commit is contained in:
Stefen Auris 2018-06-14 15:01:43 -04:00
parent c6197c7da9
commit 578e1f2e1f

12
init.sh
View file

@ -14,6 +14,9 @@ stow emacs
stow bash stow bash
stow prezto stow prezto
ln -s .ssh/config ~/.ssh/config
chmod -R 0600 ~/.ssh/*
#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" ]]
@ -24,13 +27,18 @@ fi
#Install fonts #Install fonts
if [[ -n "$SSH_CLIENT" ]] if [[ -n "$SSH_CLIENT" ]]
then then
break echo "no fonts to install over ssh"
else else
echo "Installing fonts for powerline"
./fonts.zsh ./fonts.zsh
fi fi
#init spacemacs in the background #init spacemacs in the background
./spacemacs.zsh if [ ! -d ~/.emacs.d ]
then
echo "installing spacemacs"
./spacemacs.zsh
fi
echo "*******************************" echo "*******************************"
echo "* Restart your terminal *" echo "* Restart your terminal *"