Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Apply settings that are valid inside schroot only
- if [ -n "$SCHROOT_SESSION_ID" ]; then
- [ -f /etc/bashrc ] && source /etc/bashrc
- export PS1="\[\033[01;32m\]\u@\h\[\033[00;35m\] (\$SCHROOT_CHROOT_NAME)\[\033[01;34m\] \w \\$\[\033[00m\] "
- export HISTFILE=${HISTFILE}.${SCHROOT_CHROOT_NAME}
- return
- fi
- # Automatically start an schroot session for el7, if one is not
- # already running. To enter the session, use
- # schroot -r -cel7
- if ! schroot -l --all-sessions | cut -d: -f2 | grep -q el7; then
- echo Started schroot session: $(schroot -b -nel7 -crhel7)
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement