NEWS: Use grml.org address
[grml-etc-core.git] / debian / NEWS
index 4b877d0..30b7861 100644 (file)
@@ -1,3 +1,40 @@
+grml-etc-core (0.7.5) unstable; urgency=low
+
+  * zshrc: Prompt converted to zsh's prompt theme system:
+
+    This version of the included zsh setup features a prompt theme based
+    on the old statically set prompt, that we shipped. The prompt is very
+    much customisable. Changing colours or removing and adding information
+    used in the prompt is easily possible via zsh's zstyle mechanism. For
+    more details call this:
+
+        prompt -h grml
+
+    However, if you used to discard our old prompt and used an own static
+    prompt, you need to disable the prompt system so your changes stick,
+    because when a prompt theme is active it takes over control of prompt
+    variables, which will undo your changes again. So your customisation
+    now has to look like this:
+
+        prompt off
+        PS1='%~ %# '
+
+    Our prompt is also quite extensible: For example, if you use
+    Virtualenv, and would like integration in our prompt, this is how it
+    can be done (the default way Virtualenv tries to do this is by
+    statically extending $PS1, which doesn't work with zsh themes, as
+    discussed above):
+
+        function virtual_env_prompt () {
+            REPLY=${VIRTUAL_ENV+(${VIRTUAL_ENV:t}) }
+        }
+        grml_theme_add_token \
+            virtual-env -f virtual_env_prompt '%F{magenta}' '%f'
+        zstyle ':prompt:grml:left:setup:items' \
+            rc virtual-env change-root user at host path vcs percent
+
+ -- Frank Terbeck <ft@grml.org>  Sun, 24 Mar 2013 01:21:18 +0100
+
 grml-etc-core (0.3.62) unstable; urgency=low
 
   * Merged /etc/skel/.zshrc into /etc/zsh/zshrc:
 grml-etc-core (0.3.62) unstable; urgency=low
 
   * Merged /etc/skel/.zshrc into /etc/zsh/zshrc:
@@ -12,12 +49,17 @@ grml-etc-core (0.3.62) unstable; urgency=low
     That way, we enable people on other operating systems to use our
     setup, too, just by copying our global zshrc to their ${HOME}/.zshrc.
     Adjustments would still go to the .zshrc.local file.
     That way, we enable people on other operating systems to use our
     setup, too, just by copying our global zshrc to their ${HOME}/.zshrc.
     Adjustments would still go to the .zshrc.local file.
+    Further information is available in the grml-zsh-refcard, available
+    at http://grml.org/zsh/
+
+    If you explore *any* problems please let us know:
+    http://grml.org/bugs/
 
  -- Michael Prokop <mika@grml.org>  Fri, 13 Feb 2009 12:40:28 +0100
 
 grml-etc-core (0.3.5) unstable; urgency=low
 
 
  -- Michael Prokop <mika@grml.org>  Fri, 13 Feb 2009 12:40:28 +0100
 
 grml-etc-core (0.3.5) unstable; urgency=low
 
-  * Please notice, that the setup of zsh's completion functions has
+  * Please note, that the setup of zsh's completion functions has
     been changed. The setup has been cleaned up but as a sideeffect
     you might notice a problem like:
 
     been changed. The setup has been cleaned up but as a sideeffect
     you might notice a problem like:
 
@@ -49,7 +91,7 @@ grml-etc-core (0.3.5) unstable; urgency=low
 
 grml-etc-core (0.1-31) unstable; urgency=low
 
 
 grml-etc-core (0.1-31) unstable; urgency=low
 
-  * Please notice, that the behaviour of global aliases in /etc/skel/.zshrc
+  * Please note, that the behaviour of global aliases in /etc/skel/.zshrc
     has been changed. Now global aliases won't be expanded automatically
     anymore. You can still use them (and even some more now as well),
     just type the abbreviation/global alias and expand it via pressing
     has been changed. Now global aliases won't be expanded automatically
     anymore. You can still use them (and even some more now as well),
     just type the abbreviation/global alias and expand it via pressing