]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - bash_profile
add bash completions
[max/dotfiles.git] / bash_profile
index 499dc529e380cd89bf02f5c43419de9ffa085af9..258a01f45f39f253c603f64a9b5df22801e54877 100644 (file)
@@ -7,3 +7,14 @@ export PATH="$PATH:/home/max/bin:$NPM_PACKAGES/bin:$HOME/.rvm/bin"
 unset MANPATH
 MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
 NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
+
+if [ -n "$BASH_VERSION" ]; then
+    # include .bashrc if it exists
+    if [ -f "$HOME/.bashrc" ]; then
+       . "$HOME/.bashrc"
+    fi
+fi
+
+if [ -f /etc/bash_completion ]; then
+  . /etc/bash_completion
+fi