about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/compinit1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e147b91c..754a14083 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-06-23  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 35573: Completion/compinit: turn off POSIX_BUILTINS
+	in completion, needed to get usable OPTIND behaviour.
+
 	* unposted: Src/Zle/zle_misc.c: add missing "void" argument
 	list.
 
diff --git a/Completion/compinit b/Completion/compinit
index 79f9d423a..4b9a77853 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -152,6 +152,7 @@ _comp_options=(
     NO_kshtypeset
     NO_markdirs
     NO_octalzeroes
+    NO_posixbuiltins
     NO_shwordsplit
     NO_shglob
     NO_warncreateglobal