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:
parent
37123ca4cd
commit
d47333930f
6 changed files with 22 additions and 32 deletions
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue