]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: Process `~/.bash_completion.d`
authorOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 11:13:43 +0000 (14:13 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 11:13:43 +0000 (14:13 +0300)
.shellrc

index 051889d2a64e80a1ceded88d457126f8081809cf..af5408c81420d3d997e0b6afdd6fc28a7da74e18 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -98,6 +98,12 @@ if test -n "$BASH_VERSION"; then
       fi
    fi
 
+   if [ -d "$HOME"/.bash_completion.d ]; then
+      for _compf in "$HOME"/.bash_completion.d/*; do
+         . $_compf
+      done
+   fi
+
    for cmd in builtin cgmem_nice command dbus-launch exec \
       killall man nice nohup pidof pidOf KillAll pgrep pkill psg pswg su sudo \
       time whence whereis which xargs; do