1 grml-etc-core (0.7.5) 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 -- Frank Terbeck <ft@grml.org> Sun, 24 Mar 2013 01:21:18 +0100
38 grml-etc-core (0.3.62) unstable; urgency=low
40 * Merged /etc/skel/.zshrc into /etc/zsh/zshrc:
42 Starting with grml-etc-core 0.3.62 grml's zsh setup lives only in
43 *one* zshrc file - that is the global one: /etc/zsh/zshrc
44 /etc/skel/.zshrc still exists but provides commented examples only.
45 It is best to leave the /etc/skel/.zshrc file untouched and do
46 personal changes to the setup via ${HOME}/.zshrc.local (as before)
47 which is loaded at the end of the global zshrc.
49 That way, we enable people on other operating systems to use our
50 setup, too, just by copying our global zshrc to their ${HOME}/.zshrc.
51 Adjustments would still go to the .zshrc.local file.
52 Further information is available in the grml-zsh-refcard, available
53 at http://grml.org/zsh/
55 If you explore *any* problems please let us know:
58 -- Michael Prokop <mika@grml.org> Fri, 13 Feb 2009 12:40:28 +0100
60 grml-etc-core (0.3.5) unstable; urgency=low
62 * Please note, that the setup of zsh's completion functions has
63 been changed. The setup has been cleaned up but as a sideeffect
64 you might notice a problem like:
66 "_tags:comptags:67: can only be called from completion function"
68 when starting zsh. The reason for this change is because the files
69 inside /etc/zsh/completion.d/ have been renamed from 'foo' to
70 '_foo' and their content has been adjusted according to the new
71 setup too. If you added functions to completion.d yourself, please
72 consider moving them to /etc/zsh/functions.d/. Files in that
73 directory, not starting with an underscore are marked for
74 automatic loading by default (so that is quite convenient).
76 So to avoid above error message make sure you don't have any
77 dpkg-files *not* starting with a '_' in /etc/zsh/completion.d/
78 laying around. If there are files *not* starting with an
79 underscore from an older grml-etc-core in completion.d, you may
82 Information regarding upgrading can be found also at:
84 http://wiki.grml.org/doku.php?id=upgrading
86 Information regarding (changing) zsh setup can be found at:
88 http://grml.org/zsh/#grmlzshrefcard
90 -- Michael Prokop <mika@grml.org> Fri, 25 May 2007 01:32:27 +0200
92 grml-etc-core (0.1-31) unstable; urgency=low
94 * Please note, that the behaviour of global aliases in /etc/skel/.zshrc
95 has been changed. Now global aliases won't be expanded automatically
96 anymore. You can still use them (and even some more now as well),
97 just type the abbreviation/global alias and expand it via pressing
98 the key sequence ',.'. Usage example:
100 % ls G<press-',.'-here>
104 % ls |& grep --color=auto
106 Thanks for the contribution, Matthias Kopfermann!
108 -- Michael Prokop <mika@grml.org> Sun, 12 Nov 2006 12:27:02 +0100