summaryrefslogtreecommitdiff
path: root/.config/bash/rc.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/bash/rc.sh')
-rw-r--r--.config/bash/rc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/bash/rc.sh b/.config/bash/rc.sh
index ab690cf..15a9865 100644
--- a/.config/bash/rc.sh
+++ b/.config/bash/rc.sh
@@ -1,4 +1,7 @@
# ~/.bashrc: executed by bash(1) for interactive non-login shells.
+# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
+# for examples
+
# I include this file for all interactive invocations of bash(1), whether
# they are login shells or not.
@@ -78,3 +81,10 @@ if [[ -d ${XDG_CONFIG_HOME}/bash/rc.d ]]; then
. "$file"
done
fi
+
+# enable programmable completion features (you don't need to enable
+# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
+# sources /etc/bash.bashrc).
+if [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
+fi