zshrc: Remove suidfind
[grml-etc-core.git] / etc / zsh / zshrc
index a8b7399..5e4050d 100644 (file)
@@ -3248,9 +3248,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() {
@@ -3261,30 +3258,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