From: Frank Terbeck Date: Tue, 25 Aug 2009 20:31:46 +0000 (+0200) Subject: zshrc: remove sig() X-Git-Tag: v0.3.75~13 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=7024682f98c4631845e6faf65c356bea21737a3a;p=grml-etc-core.git 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 --- 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