aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-08 11:52:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-08 11:52:33 +1200
commit495c5d5348ab535a5258e33ffe111bf33d9ab2c3 (patch)
tree2cb8dde8555df23981b2cd07efdeb477063732f6
parentImprove/extend extensions list a bit (diff)
downloaddotfiles-495c5d5348ab535a5258e33ffe111bf33d9ab2c3.tar.gz
dotfiles-495c5d5348ab535a5258e33ffe111bf33d9ab2c3.zip
Add .gpg files to text file skips
-rw-r--r--bash/bash_completion.d/_text_filenames.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash/bash_completion.d/_text_filenames.bash b/bash/bash_completion.d/_text_filenames.bash
index 43de9607..34aa1145 100644
--- a/bash/bash_completion.d/_text_filenames.bash
+++ b/bash/bash_completion.d/_text_filenames.bash
@@ -55,6 +55,10 @@ _text_filenames() {
*.bz2|*.cab|*.deb|*.gz|*.lzm|*.pack|*.tar|*.xz|*.zip) ;;
*.BZ2|*.CAB|*.DEB|*.GZ|*.LZM|*.PACK|*.TAR|*.XZ|*.ZIP) ;;
+ # Encrypted file formats
+ *.gpg) ;;
+ *.GPG) ;;
+
# Filesystems/disk images
*.bin|*.cue|*.hdf|*.img|*.iso|*.mdf|*.raw) ;;
*.BIN|*.CUE|*.HDF|*.IMG|*.ISO|*.MDF|*.RAW) ;;