Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
nvcsformats not working on 5.2
- X-seq: zsh-workers 39556
- From: Tobias Witt <tobias.witt@xxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: nvcsformats not working on 5.2
- Date: Tue, 4 Oct 2016 16:00:33 +0200
- 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
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@xxxxxxxxx <mailto:ich@xxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author