From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10689 invoked by alias); 4 Oct 2016 14:10:35 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39556 Received: (qmail 7376 invoked from network); 4 Oct 2016 14:10:35 -0000 X-Qmail-Scanner-Diagnostics: from balder.rz.uni-duesseldorf.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(134.99.128.242):SA:0(0.0/5.0):. Processed in 0.559587 secs); 04 Oct 2016 14:10:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: tobias.witt@hhu.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at hhu.de designates 134.99.128.242 as permitted sender) From: Tobias Witt Content-Type: multipart/alternative; boundary="Apple-Mail=_752910F9-C61B-4DB0-BDC0-BB3CC854ECBF" Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: nvcsformats not working on 5.2 Message-Id: <7F71078B-4007-42F2-82AE-E404059C2A99@hhu.de> Date: Tue, 4 Oct 2016 16:00:33 +0200 To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.3226) --Apple-Mail=_752910F9-C61B-4DB0-BDC0-BB3CC854ECBF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, I have noticed an issue on 5.2 which is not present on 5.0. I tested it = on macOS Sierra (zsh installed view homebrew) and on Debian 8 (zsh built = from source). The problem is with the vcs_info module. I set nvcsformats like zstyle ':vcs_info:*' nvcsformats "%~" "" which should make $vcs_info_msg_0_ return the current working directory = after vcs_info is called. I do it in a similar way for formats like zstyle ':vcs_info:*' formats "%S" "${path_color}%r/" which works without a problem inside a git repository. Outside a git = repository (where nvcsformats should be used) $vcs_info_msg_0_ is empty. = This has worked (ie $vcs_info_msg_0_ was set to "%~") before and it is = still working on that debian machine with zsh from the debian-repository = (which is 5.0.7). Is this new or a known issue? -- Tobias Witt Head of Technology E-Mail: ich@dwgadf.de Mobil: +49 (0) 173 - 29 0 98 62 Web: http://www.thisdone.de H=C3=B6ft & Witt GbR =E2=80=93 Lindenstra=C3=9Fe 47 =E2=80=93 40233 = D=C3=BCsseldorf=20 Gesch=C3=A4ftsf=C3=BChrer: Nicolas H=C3=B6ft und Tobias Witt=20 Umsatzsteuer-ID: DE277422459 --Apple-Mail=_752910F9-C61B-4DB0-BDC0-BB3CC854ECBF--