~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.bash_completion -rw-r--r-- 227 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/bash

if [ -d "${XDG_DATA_DIR:-$HOME/.local/share}"/bash-completion/completions ]; then
    for f in "${XDG_DATA_DIR:-$HOME/.local/share}"/bash-completion/completions/*; do
        [ -f "$f" ] && source "$f"
    done
fi