Skip to content

Commit

Permalink
feat(_comp_backup_glob): require dash in dpkg backup files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
scop committed Jun 12, 2023
1 parent c6c5373 commit 59a57f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ _gids()

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

# Complete on xinetd services
#
Expand Down

0 comments on commit 59a57f9

Please sign in to comment.