1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-05-14 20:09:26 +02:00

Made separate bashrc and profile which parse eachother.

So everythin is always defined in a bash shell
This commit is contained in:
Eric Teunis de Boone 2016-09-26 18:11:51 +02:00
parent 37123ca4cd
commit d47333930f
6 changed files with 22 additions and 32 deletions

View file

@ -1,6 +1,6 @@
DOTFILES="$HOME/.dotfiles"
#Add DOTFILES/bin/ to PATH
DOTBIN="$HOME/.bin"
DOTBIN="$DOTFILES/bin"
if [ -d "$DOTBIN" ]; then
export PATH="$PATH:$DOTBIN"
fi
@ -19,6 +19,6 @@ fi
# Source Bashrc if BASH
if [ "$BASH" ] && [ -f ~/.bashrc ]; then
source ~/.bashrc
if [ "$BASH" ] && [ -f $DOTFILES/bash/bashrc ]; then
source $DOTFILES/bash/bashrc
fi