aports/main/bash/bashrc
2023-05-25 05:50:11 +02:00

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