From cf57d776c87d5b8c35cbfb6a3c4a0c04f180d561 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 6 Aug 2008 23:52:10 +0200 Subject: [PATCH] Add (deactivated) completion for aliases --- debian/changelog | 3 +++ etc/zsh/zshrc | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e0504fc..ca17844 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 06 Aug 2008 23:36:58 +0200 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index f8d8bb7..541eced 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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' -- 2.1.4