isaacs/nave — comment on commit 7666933227943daa77b85f4846e8773b653c8fba
File: nave.sh line 72
By welwood08:

The Ubuntu default .profile already executes .bashrc if it exists (at least on my 10.04.3->10.04.4 system):

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

This meant that mine was being executed twice and I had to fix a minor failure with it not being idempotent.

I don't know if .bashrc is supposed to be idempotent and thus OK to execute multiple times, but it seems at least inefficient to do so...