Updated .bash_profile to conditionally include .bash_aliases.

This commit is contained in:
Jeff Geerling
2014-02-13 14:35:26 -06:00
parent 0de8791d54
commit 46bd37fe51
+5 -2
View File
@@ -18,8 +18,11 @@ export PATH=/usr/local/bin:/Users/jgeerling/bin:/usr/local/sbin:/usr/local/git/b
# Flush DNS cache (See: http://support.apple.com/kb/ht5343). # Flush DNS cache (See: http://support.apple.com/kb/ht5343).
alias flush-dns='sudo killall -HUP mDNSResponder' alias flush-dns='sudo killall -HUP mDNSResponder'
# Include alias files for easier ssh and remote connections (private). # Include alias file (if present) containing aliases for ssh, etc.
source ~/.bash_aliases if [ -f ~/.bash_aliases ]
then
source ~/.bash_aliases
fi
# Route local traffic over ethernet when using certain WiFi networks w/o proxy. # Route local traffic over ethernet when using certain WiFi networks w/o proxy.
function net_route() { function net_route() {