void-packages/srcpkgs/bash/files/bash.sh
2015-08-04 14:14:02 +02:00

7 lines
263 B
Bash

# 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