Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.6.2-test-2



On Mon, 31 Dec 2018 at 14:41, dana <dana@xxxxxxx> wrote:
>
> (I guess this should go to workers)
>
> This fixes it for me, but i'm not sure if it's the right thing...?
>
> dana

I confirm that there's such problem. I was using standard
module-utilizing test support of the Test sub-directory, and I've
missed that the zpty's Zsh needs to know about custom module_path. The
fix is good IMO.

>
> diff --git a/Test/X04zlehighlight.ztst b/Test/X04zlehighlight.ztst
> index 23ad14bd6..9f00b4697 100644
> --- a/Test/X04zlehighlight.ztst
> +++ b/Test/X04zlehighlight.ztst
> @@ -12,6 +12,7 @@
>        export PS1= PS2=
>        zpty -d
>        zpty zsh "${(q)ZTST_testdir}/../Src/zsh -fiV +Z"
> +      zpty -w zsh "module_path=( ${(@q-)module_path} \$module_path )"
>        zpty -w zsh 'zle_highlight=( fg_start_code:"CDE|3" fg_end_code:"|" bg_start_code:"BCDE|4" bg_end_code:"|" )'
>      }
>      zpty_input() {
>


-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author