dots/bashrc.sh

17 lines
376 B
Bash
Raw Permalink Normal View History

2019-02-22 13:13:19 +11:00
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
2019-02-26 12:33:54 +11:00
if [ -f /etc/profile ]; then
source /etc/profile
fi
if [ -f ~/.bash_profile ]; then
source ~/.bash_profile
fi