2016-08-22 11:04:24 +01:00
|
|
|
# ~/.zshrc
|
|
|
|
|
|
|
|
# Path to the dotfiles
|
|
|
|
DOTFILES=$HOME/.config/dotfiles
|
|
|
|
|
2016-11-25 08:51:28 +00:00
|
|
|
# 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"
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
|
2016-08-22 11:04:24 +01:00
|
|
|
# Path to your oh-my-zsh configuration
|
|
|
|
ZSH=$HOME/.oh-my-zsh
|
|
|
|
ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/oh-my-zsh
|
|
|
|
|
|
|
|
ZSH_THEME="laptop"
|
|
|
|
|
|
|
|
source $DOTFILES/zsh/exports.zsh
|
|
|
|
source $DOTFILES/zsh/config.zsh
|
|
|
|
source $DOTFILES/zsh/aliases.zsh
|
2016-08-22 15:34:51 +01:00
|
|
|
source $DOTFILES/zsh/functions.zsh
|
2016-08-22 11:04:24 +01:00
|
|
|
|