mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 04:56:55 +02:00
14 lines
265 B
Bash
14 lines
265 B
Bash
if [[ $- != *i* ]] ; then
|
|
# Shell is non-interactive. Be done now!
|
|
return
|
|
fi
|
|
|
|
# set fallback PS1; only if currently set to upstream bash default
|
|
if [ "$PS1" = '\s-\v\$ ' ]; then
|
|
PS1='\h:\w\$ '
|
|
fi
|
|
|
|
for f in /etc/bash/*.sh; do
|
|
[ -r "$f" ] && . "$f"
|
|
done
|
|
unset f
|