aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/source.bash
blob: 8f40e9e2471074f5b7105c514c3c5265dc27ae64 (plain) (blame)
1
2
3
4
5
# Completion for `source` with files that look like plain text
if ! declare -F _text_filenames >/dev/null ; then
    source "$HOME"/.bash_completion.d/_text_filenames.bash
fi
complete -F _text_filenames -o filenames source