about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2022-07-16 20:53:59 -0700
committerBart Schaefer <schaefer@zsh.org>2022-07-16 20:53:59 -0700
commit13c6b648385b550efde5bf7be4bdb97cb67dec5f (patch)
tree4b13cfea35e786ebada82b6c8371520abd22555d
parentcb59dfb3a6f6cce414c5b852c138d5f6bea6d563 (diff)
downloadzsh-13c6b648385b550efde5bf7be4bdb97cb67dec5f.tar.gz
zsh-13c6b648385b550efde5bf7be4bdb97cb67dec5f.tar.xz
zsh-13c6b648385b550efde5bf7be4bdb97cb67dec5f.zip
users/27852: local _compskip to avoid propagating any changes by _normal
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_python2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5220d2e83..d6d3f98d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-07-16  Bart Schaefer  <schaefer@Macadamia>
+
+	* users/27852: Completion/Unix/Command/_python: Make a local copy
+	of $_compskip to avoid propagating outward any changes by _normal
+
 2022-06-21  Bart Schaefer  <schaefer@zsh.org>
 
 	* 50379 (tweaked per 50380): Src/jobs.c: fix off-by-one
diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python
index e5bac18bb..2711b8fd3 100644
--- a/Completion/Unix/Command/_python
+++ b/Completion/Unix/Command/_python
@@ -3,7 +3,7 @@
 # Python 2.7
 # Python 3.9
 
-local curcontext="$curcontext" state state_descr line
+local curcontext="$curcontext" state state_descr line _compskip="$_compskip"
 typeset -A opt_args
 local -a args