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
|
@ -1,24 +0,0 @@
|
|||
DOTFILES="$HOME/.dotfiles"
|
||||
#Add DOTFILES/bin/ to PATH
|
||||
DOTBIN="$HOME/.bin"
|
||||
if [ -d "$DOTBIN" ]; then
|
||||
export PATH="$PATH:$DOTBIN"
|
||||
fi
|
||||
|
||||
|
||||
# Always try to use vi(m) if possible
|
||||
export EDITOR="vi"
|
||||
|
||||
|
||||
# Source Envs
|
||||
DOTENVS="$HOME/.envs"
|
||||
if [ -d "DOTENVS" ]; then
|
||||
source "$DOTENVS/*.active"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Source Bashrc if BASH
|
||||
if [ "$BASH" ] && [ -f ~/.bashrc ]; then
|
||||
source ~/.bashrc
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue