From 2071719f1feda7b2e4d13e127503c246b0d23ac3 Mon Sep 17 00:00:00 2001 From: Joerg Woelke Date: Fri, 21 Aug 2009 15:34:51 +0200 Subject: [PATCH] zshrc: Remove superfluous function shtgz. shtar() does the same and is more portable. Also fixed description for zsh refcard. Acked-by: Frank Terbeck --- etc/zsh/zshrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 55d92ff..36f54ea 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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 -- 2.1.4