Skip to content

Commit 59a57f9

Browse files
committed
feat(_comp_backup_glob): require dash in dpkg backup files
All ones I'm aware of have it: `.dpkg-dist`, `.dpkg-new`, `.dpkg-old`, `.dpkg-tmp`. https://www.debian.org/doc/manuals/debian-handbook/sect.package-meta-information.en.html#sect.conffiles
1 parent c6c5373 commit 59a57f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ _gids()
18591859

18601860
# Glob for matching various backup files.
18611861
#
1862-
_comp_backup_glob='@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg*|rpm@(orig|new|save))))'
1862+
_comp_backup_glob='@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg-*|rpm@(orig|new|save))))'
18631863

18641864
# Complete on xinetd services
18651865
#

0 commit comments

Comments
 (0)