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