Instantly share code, notes, and snippets.

Embed
What would you like to do?
bash wrapper for ps in OS X
ps() {
NEWARG=$1
if [[ `uname` == 'Darwin' ]]; then
NEWARG=$(echo $1 | perl -pe's/f//')
fi
ps $NEWARG
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment