Sha256: 4e09de03e916057beb789d75c6a566473f1eb0c0d96d5dfad77cd525e8b418da

Contents?: true

Size: 908 Bytes

Versions: 3

Compression:

Stored size: 908 Bytes

Contents

VER=`cat "$SAKURADIR/VERSION"`
export SAKURA_VER=$VERSION

## enable/disable DEBUG
#export DEBUG=true
export DEBUG=false

if [ "nope$SAKURADIR" = "nope" ] ; then
  echo "SAKURA> Sorry, SAKURADIR is missing. Please add to ~/.bashrc something like this:" >&2
  echo "   export SAKURADIR=~/path/to/your/sakura/repo/" >&2
  echo "Or you might try the following: cat templates/bashrc.inject" >&2
fi

if [ ! -f $SAKURADIR/bashrc.local ] ; then
  echo "File  $SAKURADIR/bashrc.local not found, copying  $SAKURADIR/bashrc.local. this may take a while..."
	cp $SAKURADIR/bashrc.local.sample $SAKURADIR/bashrc.local
  sleep 1
  echo Done.
fi


# TODO change to run-all or source-all :)
for INCLUDE_FILE in $SAKURADIR/bashrc.d/*.include ; do
  source "$INCLUDE_FILE"
done
#. $SAKURADIR/bashrc.d/00-functions
#. $SAKURADIR/bashrc.d/01-sakura_checks
#. $SAKURADIR/bashrc.d/all/_common
#. $SAKURADIR/bashrc.d/all/aliases

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sakuric-2.1.3 bashrc
sakuric-2.0.3 bashrc
sakuric-2.0.1 bashrc