From cb6f92d6f2e07fd3a467c0867b804a009e9d9254 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 5 Oct 2020 10:30:49 -0500 Subject: [PATCH] reorder install, install vim theme --- home/shell/vimrc | 2 +- install.sh | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/home/shell/vimrc b/home/shell/vimrc index 1101e04..1dc644b 100644 --- a/home/shell/vimrc +++ b/home/shell/vimrc @@ -2,7 +2,7 @@ syntax on " Convert tabs to spaces set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab -colorscheme torte +colorscheme iceberg " Show tabs as arrows, and trailing whitespace as pips set list diff --git a/install.sh b/install.sh index 03e3097..45a3d9c 100755 --- a/install.sh +++ b/install.sh @@ -73,6 +73,10 @@ echo "Linking config and local files" symlink $basedir/home/.local $HOME/.local symlink $basedir/home/.config $HOME/.config +echo "Installing Oh-My-ZSH" +echo "When the install is done, type \"exit\" to continue installing dotfiles" +sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + echo "Building i3 configuration" $basedir/bin/build-i3-config @@ -105,6 +109,12 @@ echo "Installing VIM Sensible..." cd $HOME/.vim/bundle git clone git://github.com/tpope/vim-sensible.git +echo "Installing VIM Iceberg theme" +cd /tmp +wget https://www.vim.org/scripts/download_script.php?src_id=25718 -O iceberg.zip +unzip iceberg.zip +cp -r iceberg.vim/{autoload,colors} ~/.vim/ + echo "Adding user bin..." mkdir -p $bindir for file_path in $basedir/bin/*; do @@ -114,10 +124,6 @@ done echo "Changing default shell to ZSH..." chsh -s /usr/bin/zsh -echo "Installing Oh-My-ZSH" -echo "When the install is done, type `exit` to continue installing dotfiles" -sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - if [ -e "$postinst" ]; then echo "Running post install..." source "$postinst"