moving DOTFILES_* to a common place

This commit is contained in:
Loic Nageleisen 2012-08-13 15:49:20 +02:00
parent 91c61d4783
commit ee0ed1a0b2
3 changed files with 6 additions and 10 deletions

View file

@ -1,10 +1,5 @@
# zprofile, called for login shells
# dotfiles locations
DOTFILES_HOME_DIR="$(cd -P "$(dirname "$(readlink ~/.zprofile)")" && pwd)"
DOTFILES_ROOT_DIR="$( dirname "$DOTFILES_HOME_DIR" )"
DOTFILES_ZSH_DIR="$DOTFILES_ROOT_DIR/zsh"
emulate sh
source ~/.profile
emulate zsh