Skip to content

Commit

Permalink
zshrc: Remove shtar
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent e49d294 commit d2ac165
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions doc/grmlzshrc.t2t
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions etc/zsh/zshrc
Expand Up @@ -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}
Expand Down

0 comments on commit d2ac165

Please sign in to comment.