From: Frank Terbeck Date: Tue, 29 Nov 2011 13:10:54 +0000 (+0100) Subject: zshrc: Remove shtar X-Git-Tag: v0.5.0~48 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=d2ac1657a6592f05cc3084654a61ffaacd679b2a zshrc: Remove shtar Signed-off-by: Frank Terbeck --- diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index aef72a2..594ca05 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -724,9 +724,6 @@ Reimplementation of the csh(1) builtin setenv. Lists the contents of a (compressed) archive with the appropriate programs. The choice is made along the filename extension. -: **shtar()** -Lists the content of a gzipped tar archive in default pager. - : **simple-extract()** Tries to uncompress/unpack given files with the appropriate programs. If an URI starting with https, http or ftp is provided simple-extract tries to download diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 143d706..7bfdf4d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2769,11 +2769,6 @@ zle -N inplaceMkDirs && bindkey '^XM' inplaceMkDirs memusage() { ps aux | awk '{if (NR > 1) print $5; if (NR > 2) print "+"} END { print "p" }' | dc } -#f5# Show contents of gzipped tar file -shtar() { - emulate -L zsh - gunzip -c $1 | tar -tf - -- | $PAGER -} # Function Usage: doc packagename #f5# \kbd{cd} to /usr/share/doc/\textit{package}