Package: zsh-beta Version: 4.3.10-dev-1+20090710-1 Severity: normal After upgrading from 4.3.10-dev-1+20090626-1, the following weirdness started to happen. The function comes from http://git.madduck.net/v/etc/zsh.git?a=blob;f=.zsh/zshrc/60_vcsprompt;hb=HEAD
If I run a normal command, like set -x, the __vcs_get_repo_type function works fine: piper:~|master|% __vcs_get_repo_type git piper:~|master|% set -x +_update_vcs_prompt_vars_if_vcs_ran:1> __vcs_get_repo_type +__vcs_get_repo_type:3> local dir +__vcs_get_repo_type:4> true +__vcs_get_repo_type:5> [ -d .git ']' +__vcs_get_repo_type:5> echo git +__vcs_get_repo_type:5> break […] but if I just hit ctrl-c at the ZLE prompt, it goes haywire: piper:~|master|% +_update_vcs_prompt_vars_if_vcs_ran:1> __vcs_get_repo_type +__vcs_get_repo_type:3> local dir +__vcs_get_repo_type:4> true +__vcs_get_repo_type:5> [ -d .git ']' __vcs_get_repo_type:[:5: argument expected […] -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-rc5-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh-beta depends on: ii libc6 2.9-20 GNU C Library: Shared libraries ii libcap2 1:2.16-5 support for getting/setting POSIX. ii libncursesw5 5.7+20090613-1 shared libraries for terminal hand ii passwd 1:4.1.4.1-1 change and administer password and Versions of packages zsh-beta recommends: ii libc6 2.9-20 GNU C Library: Shared libraries ii libpcre3 7.8-2 Perl 5 Compatible Regular Expressi Versions of packages zsh-beta suggests: pn zsh-beta-doc <none> (no description available) -- no debconf information -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)