[Pkg-zsh-devel] Bug#756138: zsh: please provide a prompt theme that reads /etc/debian_chroot
Felipe Sateler
fsateler at debian.org
Sat Jul 26 17:30:53 UTC 2014
Package: zsh
Version: 5.0.5-4
Severity: wishlist
Hi,
When logging into a porterbox, it would be quite useful to have a
theme that reads /etc/debian_chroot and puts it somewhere on the prompt.
The default debian bash prompt does that.
The default zsh config (as done when pressing 2 on initial zsh run)
loads the promptinit extension and enables a theme by default. However,
none of the themes reads out /etc/debian_chroot. I understand one could
provide this configuration by hand. However, since porterboxes are
things one uses relatively sparingly, a good-enough prompt by default
(or easily achievable) would be better than fetching configuration from
elsewhere, and then reloading zsh.
-- Package-specific info:
*** Packages which depend, recommend, suggest or enhance a zsh package and hence may provide code meant to be sourced in .zshrc ***
*** Packages which provide vendor completions ***
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-=================-=================-======================================================
ii docker.io 1.0.0~dfsg1-1 amd64 Linux container runtime
ii git-buildpackage 0.6.15 all Suite to help with Debian packages in Git repositories
ii mpv 0.4.1-1 amd64 video player based on MPlayer/mplayer2
ii pass 1.6.3-1 all lightweight directory-based password manager
ii pulseaudio 5.0-3 amd64 PulseAudio sound server
ii vcsh 1.20140508-1 all Version Control System for $HOME - multiple Git reposi
*** Packages which provide vendor functions ***
dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages zsh depends on:
ii libc6 2.19-7
ii libcap2 1:2.24-1
ii libtinfo5 5.9+20140712-2
ii zsh-common 5.0.5-4
Versions of packages zsh recommends:
ii libncursesw5 5.9+20140712-2
ii libpcre3 1:8.31-5
Versions of packages zsh suggests:
pn zsh-doc <none>
-- no debconf information
More information about the Pkg-zsh-devel
mailing list