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