Fix: trying to overwrite '/etc/vim/vimrc', which is also in package vim-common 2...
[grml-etc-core.git] / debian / NEWS
1 grml-etc-core (0.8.0) unstable; urgency=low
2
3   * zshrc: Prompt converted to zsh's prompt theme system:
4
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:
10
11         prompt -h grml
12
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:
18
19         prompt off
20         PS1='%~ %# '
21
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
26     discussed above):
27
28         function virtual_env_prompt () {
29             REPLY=${VIRTUAL_ENV+(${VIRTUAL_ENV:t}) }
30         }
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
35
36   * zshrc: Keyboard setup changed to terminfo data
37
38     This setup had a mixture of hard-coded escape sequences and a broken
39     terminfo data extraction scheme.
40
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'
50     sequence.
51
52     If you override these hooks in your setup, make sure you include the
53     following function calls in your own hooks:
54
55         zle-line-init:    zle-smkx
56         zle-line-finish:  zle-rmkx
57
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.
61
62  -- Frank Terbeck <ft@grml.org>  Mon, 01 Apr 2013 16:53:31 +0200
63
64 grml-etc-core (0.3.62) unstable; urgency=low
65
66   * Merged /etc/skel/.zshrc into /etc/zsh/zshrc:
67
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.
74
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/
80
81     If you explore *any* problems please let us know:
82     http://grml.org/bugs/
83
84  -- Michael Prokop <mika@grml.org>  Fri, 13 Feb 2009 12:40:28 +0100
85
86 grml-etc-core (0.3.5) unstable; urgency=low
87
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:
91
92      "_tags:comptags:67: can only be called from completion function"
93
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).
101
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
106     safely remove them.
107
108     Information regarding upgrading can be found also at:
109
110       http://wiki.grml.org/doku.php?id=upgrading
111
112     Information regarding (changing) zsh setup can be found at:
113
114       http://grml.org/zsh/#grmlzshrefcard
115
116  -- Michael Prokop <mika@grml.org>  Fri, 25 May 2007 01:32:27 +0200
117
118 grml-etc-core (0.1-31) unstable; urgency=low
119
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:
125
126     % ls G<press-',.'-here>
127
128     expands to:
129
130     % ls |& grep --color=auto
131
132     Thanks for the contribution, Matthias Kopfermann!
133
134  -- Michael Prokop <mika@grml.org>  Sun, 12 Nov 2006 12:27:02 +0100