mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 15:34:40 +01:00
14 lines
384 B
Bash
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
|