about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorManuel Presnitz <mpy@gmx.net>2014-02-19 14:12:03 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-03-01 19:08:17 +0000
commit973e5dc37d27cf5c39f33b0ff8839b167004bf3f (patch)
treeb570ea6986e73a3693f30b68bae36ff63df1f1f3 /Completion/Zsh
parentf798f13b0eba1f31cd2d760441ac9d36a6ac5263 (diff)
downloadzsh-973e5dc37d27cf5c39f33b0ff8839b167004bf3f.tar.gz
zsh-973e5dc37d27cf5c39f33b0ff8839b167004bf3f.tar.xz
zsh-973e5dc37d27cf5c39f33b0ff8839b167004bf3f.zip
32412 / 32415: New giga- and terabyte units for glob qualifiers
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Type/_globquals6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Zsh/Type/_globquals b/Completion/Zsh/Type/_globquals
index 9de7742ff..c98bd0c82 100644
--- a/Completion/Zsh/Type/_globquals
+++ b/Completion/Zsh/Type/_globquals
@@ -132,13 +132,13 @@ while [[ -n $PREFIX ]]; do
 
     (L)
     # complete/skip file size
-    if ! compset -P '([kKmMpP]|)([-+]|)<->'; then
+    if ! compset -P '([kKmMgGtTpP]|)([-+]|)<->'; then
       # complete/skip size spec
       alts=()
-      if ! compset -P '[kKmMpP]' && [[ -z $PREFIX ]]; then
+      if ! compset -P '[kKmMgGtTpP]' && [[ -z $PREFIX ]]; then
         alts+=(
           "size-specifiers:size specifier:\
-((k\:kb m\:mb p\:512-byte\ blocks))")
+((k\:kb m\:mb g\:gb t\:tb p\:512-byte\ blocks))")
       fi
       if ! compset -P '[-+]' && [[ -z $PREFIX ]]; then
         alts+=("senses:sense:((-\:less\ than +\:more\ than))")