28 lines
628 B
Bash
28 lines
628 B
Bash
# ~/.bashrc: executed by bash(1) for non-login shells.
|
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
|
# for examples
|
|
|
|
# If not running interactively, don't do anything
|
|
case $- in
|
|
*i*) ;;
|
|
*) return;;
|
|
esac
|
|
|
|
DIR="$(dirname $(readlink ~/.bashrc))"
|
|
|
|
# load all dotfiles in dotfiles repository
|
|
for DOTFILE in `find $DIR/system/.{prompt,alias,functions,path,env,shell}.sh`
|
|
do
|
|
[ -f "$DOTFILE" ] && source "$DOTFILE"
|
|
done
|
|
|
|
unset DIR
|
|
|
|
# Source global definitions
|
|
if [ -f /etc/bashrc ]; then
|
|
source /etc/bashrc
|
|
fi
|
|
|
|
# added by Anaconda3 installer
|
|
export PATH="/home/gwen/.anaconda/3/bin:$PATH"
|