summaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-11-30 15:22:53 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-11-30 15:22:55 +0100
commitee290646aa2916e57d48c9fe18eb56fbc82acbb6 (patch)
tree50c5241872c2d5899c5301f76ac80d83235b4a46 /.zsh
parent5842851b7a0d77cf7b33f56c36db3fc4d1fa3789 (diff)
downloaddotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.tar.gz
dotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.tar.bz2
dotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.zip
Added 'check_libs' function
Diffstat (limited to '')
-rw-r--r--.zsh/zshfunctions7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zsh/zshfunctions b/.zsh/zshfunctions
index a83cbd8..e63ac19 100644
--- a/.zsh/zshfunctions
+++ b/.zsh/zshfunctions
@@ -105,6 +105,13 @@ cci ()
popd -q
}
+check_libs()
+{
+ for i in $(ps -A -o pid | tail -n +2); do
+ pmap $i | grep deleted && echo $(ps $i)
+ done
+}
+
if [[ $UID == 0 ]]; then
# unpack a package