void-packages/srcpkgs/bash/files/bashrc

17 lines
301 B
Bash
Raw Normal View History

2015-06-23 17:17:09 +02:00
# /etc/bash/bashrc
# Do not edit this file.
# Place your readable configs in /etc/bash/bashrc.d/*.sh
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
2015-06-23 17:17:09 +02:00
if [ -d /etc/bash/bashrc.d/ ]; then
for f in /etc/bash/bashrc.d/*.sh; do
[ -r "$f" ] && . "$f"
done
unset f
fi