Bashrc: move pagrep to a function to improve output.