diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-20 17:13:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-20 17:13:46 +1300 |
commit | e74750b7988eaaa1302a295d77f441530f88b73b (patch) | |
tree | 87d39d9bb8566b3e04f1628705fecd69117cc1d3 /bash | |
parent | Accept all directory names for text completion (diff) | |
download | dotfiles-e74750b7988eaaa1302a295d77f441530f88b73b.tar.gz dotfiles-e74750b7988eaaa1302a295d77f441530f88b73b.zip |
Exclude .doc from blacklisted extensions
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_completion.d/_text_filenames.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bash/bash_completion.d/_text_filenames.bash b/bash/bash_completion.d/_text_filenames.bash index 93ed8969..7f3bb0e4 100644 --- a/bash/bash_completion.d/_text_filenames.bash +++ b/bash/bash_completion.d/_text_filenames.bash @@ -50,8 +50,9 @@ _text_filenames() { *.CAB|*.DEB|*.LZM|*.PACK|*.TAR|*.TAR.BZ2|*.TAR.GZ|*.TAR.XZ|*.ZIP) ;; # Document formats - *.cbr|*.doc|*.docx|*.epub|*.odp|*.odt|*.pdf|*.xls|*.xlsx) ;; - *.CBR|*.DOC|*.DOCX|*.EPUB|*.ODP|*.ODT|*.PDF|*.XLS|*.XLSX) ;; + # (Not .doc, it's a plaintext format sometimes) + *.cbr|*.docx|*.epub|*.odp|*.odt|*.pdf|*.xls|*.xlsx) ;; + *.CBR|*.DOCX|*.EPUB|*.ODP|*.ODT|*.PDF|*.XLS|*.XLSX) ;; # Filesystems/disk images *.bin|*.cue|*.hdf|*.img|*.iso|*.mdf|*.raw) ;; |