X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=45584c36cced7b0fcf7e14bdbe7b0420d496a3dd;hb=f56e81c9c9fd6ef88daad8b7422be2c847473af4;hp=cf3d7598f25e5d99ceebc02fd6b77355aa5567be;hpb=01dfd9c5db6964f35b30d6e485451cee750fc8c8;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index cf3d759..45584c3 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3247,9 +3247,6 @@ ansi-colors() { done } -#f5# Find all files in \$PATH with setuid bit set -suidfind() { ls -latg $path | grep '^...s' } - # TODO: So, this is the third incarnation of this function!? #f5# Reload given functions refunc() { @@ -3260,30 +3257,6 @@ refunc() { } compdef _functions refunc -# a small check to see which DIR is located on which server/partition. -# stolen and modified from Sven's zshrc.forall -#f5# Report diskusage of a directory -dirspace() { - emulate -L zsh - if [[ -n "$1" ]] ; then - for dir in "$@" ; do - if [[ -d "$dir" ]] ; then - ( cd $dir; echo "-<$dir>"; du -shx .; echo); - else - echo "warning: $dir does not exist" >&2 - fi - done - else - for dir in $path; do - if [[ -d "$dir" ]] ; then - ( cd $dir; echo "-<$dir>"; du -shx .; echo); - else - echo "warning: $dir does not exist" >&2 - fi - done - fi -} - #f5# Set all ulimit parameters to \kbd{unlimited} allulimit() { ulimit -c unlimited