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,5 +1,11 @@
## .profile
# dotfiles locations
DOTFILES_HOME_DIR="$(cd -P "$(dirname "$(readlink ~/.profile)")" && pwd)"
DOTFILES_ROOT_DIR="$( dirname "$DOTFILES_HOME_DIR" )"
DOTFILES_ZSH_DIR="$DOTFILES_ROOT_DIR/zsh"
DOTFILES_BASH_DIR="$DOTFILES_ROOT_DIR/bash"
# utility functions
path_append () {