X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=44dab07a23322280e754459594ae8bc8df20ff36;hb=be16974ebcf7c7946ea5718b1c131e61a532b895;hp=50799ce5e19abb99a76db3000bc94a26214f0f7b;hpb=7ab56bd113ce7b49dcabfa71dcfd61e6410ba8f1;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 50799ce..44dab07 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2773,21 +2773,6 @@ shtar() { emulate -L zsh gunzip -c $1 | tar -tf - -- | $PAGER } -#f5# Show contents of zip file -shzip() { - emulate -L zsh - unzip -l $1 | $PAGER -} -#f5# Unified diff -udiff() { - emulate -L zsh - diff -urd $* | egrep -v "^Only in |^Binary files " -} -#f5# (Mis)use \kbd{vim} as \kbd{less} -viless() { - emulate -L zsh - vim --cmd 'let no_plugin_maps = 1' -c "so \$VIMRUNTIME/macros/less.vim" "${@:--}" -} # Function Usage: doc packagename #f5# \kbd{cd} to /usr/share/doc/\textit{package}