--- orig/Completion/Debian/Command/_apt +++ mod/Completion/Debian/Command/_apt @@ -57,8 +57,8 @@ local short_seq false true bool bool_prefix intlevel word word1 nul qnul match local comp_bool comp_intlevel comp_configfile comp_arbitem comp_long comp_opt - local comp_release - local regex_short regex_long regex_all + local comp_release comp_long_prefix comp_short + local regex_short regex_long regex_all regex_long_prefix regex_all=( \( "$@" \) ) --- orig/Completion/Debian/Type/_deb_packages +++ mod/Completion/Debian/Type/_deb_packages @@ -103,6 +103,8 @@ _deb_packages_update_$pkgset + typeset -gH $cachevar + _tags packages && compadd "$expl[@]" - "${(@P)cachevar}" } --- orig/Completion/Unix/Command/_mount +++ mod/Completion/Unix/Command/_mount @@ -40,7 +40,11 @@ # are below these table. local curcontext="$curcontext" state line suf ret=1 -local args deffs=iso9660 tmp typeops=-t _nfs_access _nfs_ufs +local args deffs=iso9660 tmp typeops=-t _fs_any _nfs_access _fs_nfs _nfs_ufs \ +_fs_ufs _fs_efs _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs _fs_hsfs \ +_fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos _fs_umsdos \ +_fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs _fs_xfs _fs_std _fs_devfs \ +_fs_fdesc _fs_kernfs _fs_linprocfs _fs_procfs typeset -A opt_args --- orig/Completion/Unix/Command/_subversion +++ mod/Completion/Unix/Command/_subversion @@ -63,7 +63,7 @@ local cmd if (( ! $+_svn_cmds )); then - typeset -gA _svn_cmds + typeset -A _svn_cmds _svn_cmds=( ${=${(f)${${"$(LC_MESSAGES=C _call_program commands svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:} )