bash Does Not Complete Filenames Ending .7z

Bug #657528 reported by Ben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unp (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Lucid by pranith
Nominated for Maverick by pranith

Bug Description

Binary package hint: unp

7z files are extracted correctly by unp, but their names are not Tab-completable with bash.

--- /etc/bash_completion.d/unp 2010-10-10 03:36:33.000000000 +0100
+++ bash_completion.d/unp 2010-10-10 03:30:23.095237010 +0100
@@ -11,7 +11,7 @@
         COMPREPLY=( $( compgen -W '-u' -- "$cur" ) )
         ;;
         *)
- _filedir '@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|Z|gz|tgz|Gz|dz|lha|LHa|lhz|deb|ar|bz2|tbz2|rpm|shar|rar|arj|cab|ace|tnef|uu|mime|hqx|sea|zoo|pmd|cpio|afio|lzop)'
+ _filedir '@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|Z|gz|tgz|Gz|dz|lha|LHa|lhz|deb|ar|bz2|tbz2|rpm|shar|rar|arj|cab|ace|tnef|uu|mime|hqx|sea|zoo|pmd|cpio|afio|lzop|7z)'
         ;;
     esac
     return 0

Revision history for this message
pranith (bobby-prani) wrote :

I can confirm this on my system.

Thanks Ben for the patch.

Changed in unp (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.