From: Tobias Witt <tobias.witt@hhu.de>
To: zsh-workers@zsh.org
Subject: nvcsformats not working on 5.2
Date: Tue, 4 Oct 2016 16:00:33 +0200 [thread overview]
Message-ID: <7F71078B-4007-42F2-82AE-E404059C2A99@hhu.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]
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 <mailto:ich@dwgadf.de>
Mobil: +49 (0) 173 - 29 0 98 62
Web: http://www.thisdone.de <http://www.thisdone.de/>
Höft & Witt GbR – Lindenstraße 47 – 40233 Düsseldorf
Geschäftsführer: Nicolas Höft und Tobias Witt
Umsatzsteuer-ID: DE277422459
next reply other threads:[~2016-10-04 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 14:00 Tobias Witt [this message]
2016-10-04 15:08 ` Bart Schaefer
2016-10-04 19:57 ` Frank Terbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7F71078B-4007-42F2-82AE-E404059C2A99@hhu.de \
--to=tobias.witt@hhu.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).