diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-11-30 15:22:53 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-11-30 15:22:55 +0100 |
commit | ee290646aa2916e57d48c9fe18eb56fbc82acbb6 (patch) | |
tree | 50c5241872c2d5899c5301f76ac80d83235b4a46 /.zsh | |
parent | 5842851b7a0d77cf7b33f56c36db3fc4d1fa3789 (diff) | |
download | dotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.tar.gz dotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.tar.bz2 dotfiles-ee290646aa2916e57d48c9fe18eb56fbc82acbb6.zip |
Added 'check_libs' function
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshfunctions | 7 |
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 |