mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 00:16:38 +02:00
8 lines
402 B
Bash
8 lines
402 B
Bash
if [ -n "$BASH_VERSION" ] && [ "$BASH" != "/bin/sh" ]; then
|
|
# if we're bash (and not /bin/sh bash), also source the bashrc
|
|
# by default, bash sources the bashrc for non-login,
|
|
# and only /etc/profile on login (-l). so, make it do both on login.
|
|
# this ensures that login-shell bash (e.g. -bash or bash -l) still sources the
|
|
# system bashrc, which e.g. loads bash-completion
|
|
. /etc/bash/bashrc
|
|
fi
|