zsh: 4.3.17
GNU bash: 4.2.24
GNU grep: 2.10
I would like to know what I did wrong in the grep
part -> why grep
doesn't highlight the results when used inside the .zshrc
file, actually it doesn't output something at all.
When not using a variable or a .rc file (testing the cmd on the cli), grep
works like expected.
function seek() { clear; echo $1; locate -ie "$PWD${1}" | grep "${1}"; }