1 grml-etc-core (0.8.0) unstable; urgency=low
3 * zshrc: Prompt converted to zsh's prompt theme system:
5 This version of the included zsh setup features a prompt theme based
6 on the old statically set prompt, that we shipped. The prompt is very
7 much customisable. Changing colours or removing and adding information
8 used in the prompt is easily possible via zsh's zstyle mechanism. For
9 more details call this:
13 However, if you used to discard our old prompt and used an own static
14 prompt, you need to disable the prompt system so your changes stick,
15 because when a prompt theme is active it takes over control of prompt
16 variables, which will undo your changes again. So your customisation
17 now has to look like this:
22 Our prompt is also quite extensible: For example, if you use
23 Virtualenv, and would like integration in our prompt, this is how it
24 can be done (the default way Virtualenv tries to do this is by
25 statically extending $PS1, which doesn't work with zsh themes, as
28 function virtual_env_prompt () {
29 REPLY=${VIRTUAL_ENV+(${VIRTUAL_ENV:t}) }
31 grml_theme_add_token \
32 virtual-env -f virtual_env_prompt '%F{magenta}' '%f'
33 zstyle ':prompt:grml:left:setup:items' \
34 rc virtual-env change-root user at host path vcs percent
36 * zshrc: Keyboard setup changed to terminfo data
38 This setup had a mixture of hard-coded escape sequences and a broken
39 terminfo data extraction scheme.
41 Starting with this release, escape sequences are extracted from
42 terminfo exclusively (except for a handful of combinations, that are
43 commonly not found in terminfo databases). For this to work properly,
44 the terminal needs to be switched to "keyboard transmit mode" via the
45 `smkx' escape sequence (if a terminal's terminfo entry does not
46 support this key, keyboard transmit-mode is active all the time). To
47 enable this feature when zsh's line editor (zle) is active, this setup
48 now uses the `zle-line-init' and `zle-line-finish' hooks. The former
49 invokes the `smkx' sequence and the latter invokes the `rmkx'
52 If you override these hooks in your setup, make sure you include the
53 following function calls in your own hooks:
55 zle-line-init: zle-smkx
56 zle-line-finish: zle-rmkx
58 Unless your system does not have support for terminfo, the new setup
59 should work a lot more robust across a much larger number of terminals
60 and terminal/terminal-multiplexer combinations.
62 -- Frank Terbeck <ft@grml.org> Mon, 01 Apr 2013 16:53:31 +0200
64 grml-etc-core (0.3.62) unstable; urgency=low
66 * Merged /etc/skel/.zshrc into /etc/zsh/zshrc:
68 Starting with grml-etc-core 0.3.62 grml's zsh setup lives only in
69 *one* zshrc file - that is the global one: /etc/zsh/zshrc
70 /etc/skel/.zshrc still exists but provides commented examples only.
71 It is best to leave the /etc/skel/.zshrc file untouched and do
72 personal changes to the setup via ${HOME}/.zshrc.local (as before)
73 which is loaded at the end of the global zshrc.
75 That way, we enable people on other operating systems to use our
76 setup, too, just by copying our global zshrc to their ${HOME}/.zshrc.
77 Adjustments would still go to the .zshrc.local file.
78 Further information is available in the grml-zsh-refcard, available
79 at http://grml.org/zsh/
81 If you explore *any* problems please let us know:
84 -- Michael Prokop <mika@grml.org> Fri, 13 Feb 2009 12:40:28 +0100
86 grml-etc-core (0.3.5) unstable; urgency=low
88 * Please note, that the setup of zsh's completion functions has
89 been changed. The setup has been cleaned up but as a sideeffect
90 you might notice a problem like:
92 "_tags:comptags:67: can only be called from completion function"
94 when starting zsh. The reason for this change is because the files
95 inside /etc/zsh/completion.d/ have been renamed from 'foo' to
96 '_foo' and their content has been adjusted according to the new
97 setup too. If you added functions to completion.d yourself, please
98 consider moving them to /etc/zsh/functions.d/. Files in that
99 directory, not starting with an underscore are marked for
100 automatic loading by default (so that is quite convenient).
102 So to avoid above error message make sure you don't have any
103 dpkg-files *not* starting with a '_' in /etc/zsh/completion.d/
104 laying around. If there are files *not* starting with an
105 underscore from an older grml-etc-core in completion.d, you may
108 Information regarding upgrading can be found also at:
110 http://wiki.grml.org/doku.php?id=upgrading
112 Information regarding (changing) zsh setup can be found at:
114 http://grml.org/zsh/#grmlzshrefcard
116 -- Michael Prokop <mika@grml.org> Fri, 25 May 2007 01:32:27 +0200
118 grml-etc-core (0.1-31) unstable; urgency=low
120 * Please note, that the behaviour of global aliases in /etc/skel/.zshrc
121 has been changed. Now global aliases won't be expanded automatically
122 anymore. You can still use them (and even some more now as well),
123 just type the abbreviation/global alias and expand it via pressing
124 the key sequence ',.'. Usage example:
126 % ls G<press-',.'-here>
130 % ls |& grep --color=auto
132 Thanks for the contribution, Matthias Kopfermann!
134 -- Michael Prokop <mika@grml.org> Sun, 12 Nov 2006 12:27:02 +0100