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. |
---|
3 | DEBATHENA_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. |
---|
9 | for 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. |
---|
13 | if [ "$debathena_test_if_bashrc_runs" = 0 ]; then |
---|
14 | debathena_test_if_bashrc_runs=1 |
---|
15 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.