From a3e0a2287dcbfdeec6cb1d519fbd8c5b37fb4ded Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 8 Dec 2016 22:23:07 +0100 Subject: [PATCH] Updates --- init.sh | 5 +++++ zsh/config.zsh | 14 +++++++------- zshrc | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100755 init.sh diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..bb18fa0 --- /dev/null +++ b/init.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +git clone http://github.com/robbyrussell/oh-my-zsh ~/.config/oh-my-zsh +git clone http://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim +mkdir ~/.vim/swp ~/.vim/backups + diff --git a/zsh/config.zsh b/zsh/config.zsh index 80db45c..830814a 100644 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -1,12 +1,12 @@ # Check if zshrc has been modified # I like jokes, but I prefer when I'm the one who makes them -git -C $DOTFILES diff --exit-code zshrc zsh > /dev/null 2>&1 - -if [ $? -ne 0 ]; then - echo >&2 "Your zshrc has been modified... nothing will be executed, please check it" - alias source=: - return -fi +# git -C $DOTFILES diff --exit-code zshrc zsh > /dev/null 2>&1 +# +# if [ $? -ne 0 ]; then +# echo >&2 "Your zshrc has been modified... nothing will be executed, please check it" +# alias source=: +# return +# fi # Set to this to use case-sensitive completion # CASE_SENSITIVE="true" diff --git a/zshrc b/zshrc index fb210ee..3503ba3 100644 --- a/zshrc +++ b/zshrc @@ -4,7 +4,7 @@ DOTFILES=$HOME/.config/dotfiles # Path to your oh-my-zsh configuration -ZSH=$HOME/.oh-my-zsh +ZSH=$HOME/.config/oh-my-zsh ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/oh-my-zsh ZSH_THEME="laptop"