From 44fa7f22cd75d1a85b71adde9a9b709179c0c955 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 12 Dec 2016 10:14:21 +1300 Subject: Remove .dat from text filename exclusions The one instance I can find in my regularly worked files is status.dat in Nagios, which is a text file --- bash/bash_completion.d/_text_filenames.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash') diff --git a/bash/bash_completion.d/_text_filenames.bash b/bash/bash_completion.d/_text_filenames.bash index 577d082a..37684fdf 100644 --- a/bash/bash_completion.d/_text_filenames.bash +++ b/bash/bash_completion.d/_text_filenames.bash @@ -66,8 +66,8 @@ _text_filenames() { # Other known binary extensions # (I haven't included .com; on UNIX, that's more likely to be # something I saved from a website and named after the domain) - *.a|*.dat|*.drv|*.exe|*.o|*.torrent|*.wad|*.rom) ;; - *.A|*.DAT|*.DRV|*.EXE|*.O|*.TORRENT|*.WAD|*.ROM) ;; + *.a|*.drv|*.exe|*.o|*.torrent|*.wad|*.rom) ;; + *.A|*.DRV|*.EXE|*.O|*.TORRENT|*.WAD|*.ROM) ;; # Complete everything else; some of it will still be binary *) COMPREPLY[${#COMPREPLY[@]}]=$item ;; -- cgit v1.2.3