diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 12:57:44 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 12:57:44 +1300 |
commit | 8aaece1c0d36a43941f0c75a8b20160bc915288d (patch) | |
tree | ed2873dceb2bb957b39df7fb065a70ae345bdd00 /bash/bash_completion.d/vim.bash | |
parent | Rearrange _text_filenames completion a little (diff) | |
download | dotfiles-8aaece1c0d36a43941f0c75a8b20160bc915288d.tar.gz dotfiles-8aaece1c0d36a43941f0c75a8b20160bc915288d.zip |
Apply syntax fixes to last _text_filenames specs
Diffstat (limited to 'bash/bash_completion.d/vim.bash')
-rw-r--r-- | bash/bash_completion.d/vim.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/bash_completion.d/vim.bash b/bash/bash_completion.d/vim.bash index 02d085d1..7b9ba027 100644 --- a/bash/bash_completion.d/vim.bash +++ b/bash/bash_completion.d/vim.bash @@ -1,4 +1,5 @@ # Completion for vim(1) with files that look editable -declare -F _text_filenames >/dev/null || +if ! declare -F _text_filenames >/dev/null ; then source "$HOME"/.bash_completion.d/_text_filenames.bash +fi complete -F _text_filenames -o filenames vim |