aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc')
-rw-r--r--files/.zsh/rc/S50_functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/.zsh/rc/S50_functions b/files/.zsh/rc/S50_functions
index 731c98f..a235839 100644
--- a/files/.zsh/rc/S50_functions
+++ b/files/.zsh/rc/S50_functions
@@ -2,4 +2,8 @@ mcd() {
mkdir -p "$1" && cd "$1"
}
+ppgrep() {
+ pgrep "$@" | xargs --no-run-if-empty ps fp
+}
+
# vim: ft=zsh :