From 7024682f98c4631845e6faf65c356bea21737a3a Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 25 Aug 2009 22:31:46 +0200 Subject: [PATCH] zshrc: remove sig() Brought to attention by Joerg. This function serves no real purpose in an interactive shell session. Reported-by: Joerg Woelke Acked-by: Michael Prokop Signed-off-by: Frank Terbeck --- debian/changelog | 3 ++- etc/zsh/zshrc | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 050afad..e9768af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ grml-etc-core (0.3.74) unstable; urgency=low * zshrc: mark specialized run-help functions for autoloading * zshrc: remove reload(). 'exec zsh' is a much more robust way of reloading the configuration. + * zshrc: remove sig() function [ Michael Prokop ] * /etc/grml/script-functions: replace 'type -p' with 'which'. @@ -14,7 +15,7 @@ grml-etc-core (0.3.74) unstable; urgency=low * zshrc: Removing shtgz(). shtar() does the same, just portably. * zshrc: Remove broken ytdl() function. - -- Frank Terbeck Tue, 25 Aug 2009 22:06:05 +0200 + -- Frank Terbeck Tue, 25 Aug 2009 22:31:04 +0200 grml-etc-core (0.3.73) unstable; urgency=low diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ffaae2f..0b6e652 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3335,11 +3335,6 @@ shzip() { emulate -L zsh unzip -l $1 | $PAGER } -#f5# Greps signature from file -sig() { - emulate -L zsh - agrep -d '^-- $' "$*" ~/.Signature -} #f5# Unified diff udiff() { emulate -L zsh -- 2.1.4