Consistent loading of files
mathiasbynens opened this issue · 1 comments
mathiasbynens commented
Not really an issue, but I was wondering why you’re loading most files like this:
# Prompt
if [ -f ~/.bash_prompt ]; then
source ~/.bash_prompt
fi
When for .commonrc
it’s done this way:
# Common junk
[[ -s "$HOME/.commonrc" ]] && source "$HOME/.commonrc"
Wouldn’t the same technique as before work just as well?
gf3 commented