From 9af91d2b3520ec43a191240fd912ecd6a9e29bca Mon Sep 17 00:00:00 2001 From: steveokard Date: Thu, 14 Feb 2019 11:48:50 -0500 Subject: [PATCH] further refinement for autosetup --- init.sh | 15 +++++++-------- prezto.zsh | 3 --- {.ssh => ssh/.ssh}/config | 0 3 files changed, 7 insertions(+), 11 deletions(-) rename {.ssh => ssh/.ssh}/config (100%) diff --git a/init.sh b/init.sh index dfeff34..191c4da 100755 --- a/init.sh +++ b/init.sh @@ -3,19 +3,18 @@ echo "installing required packages" ./deps.sh -#setup prezto -zsh prezto.zsh - #create symlinks using stow echo "Stowing Configs" stow tmux -#stow vim stow emacs -stow bash stow prezto -ln -s /home/`whoami`/stevset/mc ~/.config/mc -ln -s .ssh/config ~/.ssh/config +stow ssh chmod -R 0600 ~/.ssh/* +ln -s /home/`whoami`/stevset/mc ~/.config/mc + +#setup prezto +echo "Initializing Prezto" +zsh prezto.zsh #set new shell echo "set new shell to zsh" @@ -28,7 +27,7 @@ fi echo "Installing Space VIM!" mv "$HOME/.vim" "$HOME/.vim_bk" mv "$HOME/.vimrc" "$HOME/.vimrc_bk" -bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh) +zsh <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh) Install fonts if [[ -n "$SSH_CLIENT" ]] diff --git a/prezto.zsh b/prezto.zsh index edc5c5d..4990216 100755 --- a/prezto.zsh +++ b/prezto.zsh @@ -1,9 +1,6 @@ #!/bin/zsh #Initializes Prezto -# Clone Prezto -#git clone --recursive https://github.com/steveokard/prezto.git "${ZDOTDIR:-$HOME}/stevset/prezto/.zprezto" - #Remove old stuff rm -rf ~/.zshrc ~/.zsh ~/.zprofile diff --git a/.ssh/config b/ssh/.ssh/config similarity index 100% rename from .ssh/config rename to ssh/.ssh/config