Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
perl 5.22 causes warnings when zsh calls it
- X-seq: zsh-workers 35659
- From: John <da_audiophile@xxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: perl 5.22 causes warnings when zsh calls it
- Date: Sun, 28 Jun 2015 19:44:28 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1435520669; bh=eLh/+rMITwmabWamOnE2ftK7gOrWVyh+Ze/ihjydrlc=; h=Date:From:Reply-To:To:Subject:From:Subject; b=cU6taGwG9IBNOnqTDES7pKxNrUkRSB5m0kb5BU9E+wqQoQoQJuoa+QwcP1VeEHABb6ubbN5faAUlIpviErb1cGpMUXvO8CEZDajgw2vQo3BK64lMDhuXrr3N4rJy2yc8MxyLFJVkKNULfwW43YZ+eQ4OngSkf7ELc5oJM1dcFn/YktdkaV3AjeDDA1QkwnDPIeFhyXfHGmgGhrAvjp2Gmh4bZemdCBA85Z6i/GRKaPobB1qJKjlkEEY5SoKIc2jhn8RClIFH+YcjmF5SX0iIARN/dYlsnVoqhFYOC7GVJsYlu4TCWkE4skvrgNXtrCyI/OcfGvwlm2XxW3nOyQDvyw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Reply-to: John <da_audiophile@xxxxxxxxx>
Using Arch Linux + grml-zsh-config and zsh version 5.0.8 with the latest release of perl (5.22.0) causes warning messages when zsh calls perl. Specifically, switching themes that have a token via `prompt adam1 yellow` can trigger it due to zsh invoking a perl line that the new version of perl doesn't like. This was not the case under the older version of perl.
Under perl 5.20.2-1:
3:02% prompt adam1 yellow
facade@playtime ~ %
Under perl 5.22.0-1:
3:03% prompt adam1 yellow
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%(K{ <-- HERE .*?}|k)/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%(K{ <-- HERE .*?}|k)/ at -e line 1.
facade@playtime ~ %
If I `set -x` in an attempt to debug, I found this line which I believe zsh is calling:
...
+prompt_adam1_setup:8:> base_prompt_no_color=+prompt_adam1_setup:8:cmdsubst pipe> perl -pe 's/%(K{.*?}|k)//g'
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%(K{ <-- HERE .*?}|k)/ at -e line 1.
Note - I am not subscribed to the ML so please remember to cc me on all subsequent correspondence.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author