dotfiles/bash/profile

14 lines
384 B
Bash

## bash_profile, called for login shells
# dotfiles locations
DOTFILES_HOME_DIR="$(cd -P "$(dirname "$(readlink ${BASH_SOURCE[0]})")" && pwd)"
DOTFILES_ROOT_DIR="$( dirname "$DOTFILES_HOME_DIR" )"
DOTFILES_BASH_DIR="$DOTFILES_ROOT_DIR/bash"
# include .profile
source ~/.profile
# include bashrc too if this is an interactive shell
[[ $- == *i* ]] && source ~/.bashrc
# vim: ft=sh