From ca9012c7763e6372124465e14e8b0dc1d7db4e65 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 25 Oct 2022 15:49:51 -0700 Subject: [PATCH] Set `EXTENDED_GLOB` in the python module This is needed to find python. It is often already set because a user has the directory or completion module loaded before this, but that's not always true. See extensive debugging / further explanation here: https://github.com/sorin-ionescu/prezto/issues/1949 This does not fully resolve that issue, as there's another enhancement that I'll put up as a separate PR. --- modules/python/init.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 22b61c3..1c7a9a4 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -8,6 +8,12 @@ # Indrajit Raychaudhuri # +# +# Options +# + +setopt EXTENDED_GLOB + # Load dependencies. pmodload 'helper'