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

@ -5,7 +5,12 @@
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
[ ! -z "$DOTFILES" ] && DOTBASH="$DOTFILES/bash"
[ -z "$DOTFILES" ] && source ~/.profile
##
[ -z "$DOTFILES" ] && echo ".profile missing" && exit 1
DOTBASH="$DOTFILES/bash"
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"