diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index c299f36..5c172b1 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -76,6 +76,14 @@ pwatch(){ fi } +process_search(){ + if [[ -z ${1} ]];then + printf 'no search arg provided' + exit 1 + fi + ps aux | grep -ie "${1}" +} + #alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12" #alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing" #git shortcut to quickly push all changes with comment