X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=c9cef224ed1e159ec732f0efef1aa5a5df5f2eae;hb=ebd8c5d87d6d7ded4e02d9bdc8403cb2c88b633b;hp=bea031483612e8d3e402682c5e48f9effb41d146;hpb=1a3d22b684fc890e0d3e300879ec92fcfaa2902e;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index bea0314..c9cef22 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2725,10 +2725,6 @@ cdt() { echo "$t" builtin cd "$t" } -#f5# Unified diff to timestamped outputfile -mdiff() { - diff -udrP "$1" "$2" > diff.`date "+%Y-%m-%d"`."$1" -} #f5# Create directory under cursor or the selected area # Press ctrl-xM to create the directory under the cursor or the selected area. @@ -2764,11 +2760,6 @@ inplaceMkDirs() { #k# mkdir -p from string under cursor or marked area zle -N inplaceMkDirs && bindkey '^XM' inplaceMkDirs -#f5# Memory overview -memusage() { - ps aux | awk '{if (NR > 1) print $5; if (NR > 2) print "+"} END { print "p" }' | dc -} - # Function Usage: doc packagename #f5# \kbd{cd} to /usr/share/doc/\textit{package} doc() {