This commit is contained in:
Thomas Forgione 2016-12-08 22:23:07 +01:00
parent a77f5fab75
commit a3e0a2287d
3 changed files with 13 additions and 8 deletions

5
init.sh Executable file
View File

@ -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

View File

@ -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"

2
zshrc
View File

@ -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"