aports/main/bash/bashrc
psykose 93701aaa48 main/bash: source completions when installed in bashrc
and clean up a stale comment to put configs under profile.d, as we don't
source them here
(profile.d is only for the login shell)
2023-04-11 15:20:05 +02:00

14 lines
281 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
if [ -r /etc/bash/bash_completion.sh ]; then
. /etc/bash/bash_completion.sh
fi