about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-23 11:23:04 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-23 11:23:04 +0000
commitabf389c59fba6380b5c929c9c5f6fea427b7990e (patch)
tree9661c4a94dc6f2e50a8032c3f7b4ae4090ad16a4
parenta5c5e7b17bde8ec475dd0c527d4dfe44fb89d7cd (diff)
downloadzsh-abf389c59fba6380b5c929c9c5f6fea427b7990e.tar.gz
zsh-abf389c59fba6380b5c929c9c5f6fea427b7990e.tar.xz
zsh-abf389c59fba6380b5c929c9c5f6fea427b7990e.zip
zsh-workers/9837
-rw-r--r--Completion/User/_gunzip2
-rw-r--r--Functions/Zle/predict-on2
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_gunzip b/Completion/User/_gunzip
index 936420fe1..90bdd56a2 100644
--- a/Completion/User/_gunzip
+++ b/Completion/User/_gunzip
@@ -3,4 +3,4 @@
 local expl
 
 _description files expl 'compressed file'
-_files "$expl[@]" -g '*.([tT]|)[gG][z]'
+_files "$expl[@]" -g '*.([tT]|)[gG][zZ]'
diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on
index ad6ea7496..9d3da7532 100644
--- a/Functions/Zle/predict-on
+++ b/Functions/Zle/predict-on
@@ -64,7 +64,7 @@ insert-and-predict () {
 	  # get out of that `case'.
 	  repeat 1
 	  do
-	    zstyle -s ":completion:${curcontext}" cursor crs
+	    zstyle -s ":completion:${curcontext}:" cursor crs
 	    case $crs in
 	    (complete)
 	      # At the place where the completion left it, if it is after