~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/bash/.bash_completion -rw-r--r-- 227 bytes
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 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