1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-17 17:03:32 +01:00
dotfiles/profile.sh
Eric Teunis de Boone d47333930f Made separate bashrc and profile which parse eachother.
So everythin is always defined in a bash shell
2016-09-26 18:11:51 +02:00

9 lines
289 B
Bash

# Define DOTFILES for easy access
DOTFILES="$HOME/.dotfiles"
# Source main profile
[ -r "$DOTFILES/profiles/main.sh" ] && source "$DOTFILES/profiles/main.sh"
# Source machine specific profile
[ -r "$DOTFILES/profiles/$HOSTNAME.profile"] && source "$DOTFILES/profiles/$HOSTNAME.profile"