void-packages/srcpkgs/bash/files/bash.sh

8 lines
263 B
Bash
Raw Normal View History

2015-08-04 14:13:25 +02:00
# Check for interactive bash
[ -z "$BASH_VERSION" -o -z "$PS1" ] && return
# Bash login shells only run /etc/profile
# Bash non-login shells run only /etc/bash/bashrc
# We want to source /etc/bash/bashrc in any case
[ -f /etc/bash/bashrc ] && . /etc/bash/bashrc