source: trunk/debathena/config/shell-config/debian/bash.bashrc.debathena @ 24005

Revision 24005, 571 bytes checked in by geofft, 15 years ago (diff)
In shell-config: * Make sure that 'add' etc. are still available in interactive login bash shells, by sourcing bashrc.d/* in profile if needed.
Line 
1# This is the Debathena /etc/bash.bashrc configuration, installed by
2# debathena-bash-config.
3DEBATHENA_BASHRC_DIR=/usr/share/debathena-bash-config/bashrc.d
4
5# Source the normal bash.bashrc
6. /etc/bash.bashrc.debathena-orig
7
8# Source all bash scripts in our bashrc.d directory.
9for i in `run-parts --list "$DEBATHENA_BASHRC_DIR"`; do . "$i"; done
10
11# In the event we're being sourced from something sourced by
12# profile.debathena, inform it that bashrc.d/* has already been sourced.
13if [ "$debathena_test_if_bashrc_runs" = 0 ]; then
14    debathena_test_if_bashrc_runs=1
15fi
Note: See TracBrowser for help on using the repository browser.