Add (deactivated) completion for aliases 0.3.51
authorMichael Prokop <devnull@localhost>
Wed, 6 Aug 2008 21:52:10 +0000 (23:52 +0200)
committerMichael Prokop <devnull@localhost>
Wed, 6 Aug 2008 21:52:10 +0000 (23:52 +0200)
debian/changelog
etc/zsh/zshrc

index e0504fc..ca17844 100644 (file)
@@ -25,6 +25,9 @@ grml-etc-core (0.3.51) unstable; urgency=low
     - New function linenr() to print a specific line of file, thanks
       to Wuehlmaus.
     - Update gizmo() function.
+    - Add completion for aliases, deactivated by default because it
+      might be confusing for several users for now. Idea by Julius,
+      thanks for forwarding - wuehlmaus. :)
   * zshenv: set $PATH on Solaris/SunOS.
 
  -- Michael Prokop <mika@grml.org>  Wed, 06 Aug 2008 23:36:58 +0200
index f8d8bb7..541eced 100644 (file)
@@ -3,7 +3,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mit Aug 06 23:39:53 CEST 2008 [mika]
+# Latest change: Wed Aug 06 23:50:53 CEST 2008 [mika]
 ################################################################################
 # This file is sourced only for interactive shells. It
 # should contain commands to set up aliases, functions,
@@ -1608,6 +1608,9 @@ grmlcomp() {
     # zstyle ':completion:*' completer _complete _correct _approximate
     # zstyle ':completion:*' expand prefix suffix
 
+    # complete shell aliases
+    # zstyle ':completion:*' completer _expand_alias _complete _approximate
+
     # command for process lists, the local web server details and host completion
     zstyle ':completion:*:urls' local 'www' '/var/www/' 'public_html'