mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-11 13:09:19 +00:00
20 lines
420 B
Plaintext
20 lines
420 B
Plaintext
#
|
|
# @TERMUX_PREFIX@/etc/profile
|
|
#
|
|
|
|
for i in @TERMUX_PREFIX@/etc/profile.d/*.sh; do
|
|
if [ -r $i ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|
|
|
|
# Source etc/bash.bashrc and ~/.bashrc also for interactive bash login shells:
|
|
if [ "$BASH" ]; then
|
|
if [[ "$-" == *"i"* ]]; then
|
|
if [ -r @TERMUX_PREFIX@/etc/bash.bashrc ]; then
|
|
. @TERMUX_PREFIX@/etc/bash.bashrc
|
|
fi
|
|
fi
|
|
fi
|