aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/cat.bash
blob: 894b18ea454d87fd0ee12e4809f20ba2aa830316 (plain) (blame)
1
2
3
4
5
# Completion for cat(1) with files that look editable
declare -F _text_filenames >/dev/null ||
    source "$HOME"/.bash_completion.d/_text_filenames.bash
complete -F _text_filenames -o filenames cat