zshrc: Remove superfluous function shtgz.
authorJoerg Woelke <joewoe@fsmail.de>
Fri, 21 Aug 2009 13:34:51 +0000 (15:34 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Fri, 21 Aug 2009 13:46:03 +0000 (15:46 +0200)
shtar() does the same and is more portable.
Also fixed description for zsh refcard.

Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
etc/zsh/zshrc

index 55d92ff..36f54ea 100644 (file)
@@ -3341,16 +3341,11 @@ mdiff() {
 memusage() {
     ps aux | awk '{if (NR > 1) print $5; if (NR > 2) print "+"} END { print "p" }' | dc
 }
-#f5# Show contents of tar file
+#f5# Show contents of gzipped tar file
 shtar() {
     emulate -L zsh
     gunzip -c $1 | tar -tf - -- | $PAGER
 }
-#f5# Show contents of tgz file
-shtgz() {
-    emulate -L zsh
-    tar -ztf $1 | $PAGER
-}
 #f5# Show contents of zip file
 shzip() {
     emulate -L zsh