mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-18 05:06:38 +02:00
Made separate bashrc and profile which parse eachother.
So everythin is always defined in a bash shell
This commit is contained in:
parent
37123ca4cd
commit
d47333930f
6 changed files with 22 additions and 32 deletions
9
profile.sh
Normal file
9
profile.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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"
|
Loading…
Add table
Add a link
Reference in a new issue