X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=7bfdf4d057f4815fd39f8c818d1240078f86230f;hb=d2ac1657a6592f05cc3084654a61ffaacd679b2a;hp=b83048cb3bbe90e10f698f6339171d9a4b65ba48;hpb=2933102fbb9ec79967b5cb2819ca016cb8da3075;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b83048c..7bfdf4d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2769,16 +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 -} -#f5# Show contents of zip file -shzip() { - emulate -L zsh - unzip -l $1 | $PAGER -} # Function Usage: doc packagename #f5# \kbd{cd} to /usr/share/doc/\textit{package}