Commit | Line | Data |
---|---|---|
1 | for i in @TERMUX_PREFIX@/etc/profile.d/*.sh; do | |
2 | if [ -r $i ]; then | |
3 | . $i | |
4 | fi | |
5 | done | |
6 | unset i | |
7 | ||
8 | # Source etc/bash.bashrc and ~/.bashrc also for interactive bash login shells: | |
9 | if [ "$BASH" ]; then | |
10 | if [[ "$-" == *"i"* ]]; then | |
11 | if [ -r /data/data/com.termux/files/usr/etc/bash.bashrc ]; then | |
12 | . /data/data/com.termux/files/usr/etc/bash.bashrc | |
13 | fi | |
14 | if [ -r /data/data/com.termux/files/home/.bashrc ]; then | |
15 | . /data/data/com.termux/files/home/.bashrc | |
16 | fi | |
17 | fi | |
18 | fi |