zshrc: Remove shtar
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 29 Nov 2011 13:10:54 +0000 (14:10 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:46 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/zsh/zshrc

index aef72a2..594ca05 100644 (file)
@@ -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
index 143d706..7bfdf4d 100644 (file)
@@ -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}