zshrc: remove sig()
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 25 Aug 2009 20:31:46 +0000 (22:31 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Tue, 25 Aug 2009 20:31:46 +0000 (22:31 +0200)
Brought to attention by Joerg.
This function serves no real purpose in an interactive shell session.

Reported-by: Joerg Woelke <joewoe@fsmail.de>
Acked-by: Michael Prokop <mika@grml.org>
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
debian/changelog
etc/zsh/zshrc

index 050afad..e9768af 100644 (file)
@@ -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 <ft@grml.org>  Tue, 25 Aug 2009 22:06:05 +0200
+ -- Frank Terbeck <ft@grml.org>  Tue, 25 Aug 2009 22:31:04 +0200
 
 grml-etc-core (0.3.73) unstable; urgency=low
 
index ffaae2f..0b6e652 100644 (file)
@@ -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