about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-16 17:14:49 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-18 01:34:52 +0000
commit713857cea0ae2ece61d32966de6aea815427aa4d (patch)
treec13455e1da3bc55398ec08c0ace03f32c20ba621
parent13cfa036c8f9dd02688d3cb860abc75bcc64827d (diff)
downloadzsh-713857cea0ae2ece61d32966de6aea815427aa4d.tar.gz
zsh-713857cea0ae2ece61d32966de6aea815427aa4d.tar.xz
zsh-713857cea0ae2ece61d32966de6aea815427aa4d.zip
39657: _zstyle: When completing a style for an unrecognised context, complete all known styles.
Previously, vcs_info styles weren't completed.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Zsh/Command/_zstyle2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e1beba1e..546b5cf6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-10-18  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 39657: Completion/Zsh/Command/_zstyle: When completing a
+	style for an unrecognised context, complete all known styles.
+
 	* 39657: Completion/Zsh/Command/_zstyle,
 	Completion/Zsh/Type/_completers, Doc/Zsh/compsys.yo: Make a
 	helper function global.
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index dcebc6faf..553917b9d 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -284,7 +284,7 @@ while (( $#state )); do
 	;;
 
 	(*)
-        ctop=cdez
+        ctop=a-z
 	;;
       esac
       _wanted styles expl style \