Skip to content

Commit

Permalink
Update bashrc.rear
Browse files Browse the repository at this point in the history
Better intro message when "rear shell" launches bash within ReaR.
  • Loading branch information
jsmeix committed Nov 11, 2021
1 parent a5edba7 commit 286877f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions usr/share/rear/lib/bashrc.rear
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alias md='mkdir -p'
alias which='type -p'
alias rehash='hash -r'

# very important for our scripts to work!
# mandatory for our scripts to work
shopt -s nullglob extglob

eval "$REAR_EVAL" &>/dev/null
Expand All @@ -20,10 +20,11 @@ for script in $SHARE_DIR/lib/*functions.sh ; do source $script ; done
source $SHARE_DIR/lib/progresssubsystem.nosh

echo "
WARNING! This is the interactive shell within $PRODUCT. It
is intended for development and testing purposed only and
comes without warranty. The typical usage scenario is to
source scriptlets into this shell to test their behaviour.
This is the interactive shell (bash) within $PRODUCT.
It is intended for development and testing of $PRODUCT
to find out how things behave within the $PRODUCT environment.
For example you can call $PRODUCT specific functions
or source $PRODUCT scripts to test their behaviour.

SHARE_DIR=$SHARE_DIR BUILD_DIR=$BUILD_DIR
"
Expand Down

0 comments on commit 286877f

Please sign in to comment.