I am using oh my zsh. I am not able to use some commands which I could do on ubuntu for e.g.. \s in regular expressions. I installed home-brew and then brew install gnu-sed --default-names but still I am unable to used sed command. My $PATH variable is a bit messed up and I am not sure how to correct it.
/Users/ishansrivastava/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/opt/local/sbin:/opt/X11/bin:/Library/TeX/texbin
What should I do so that I can use all gnu commands without hassle on my Mac?Also please give me the list of commands on which I have to use gnu command instead of default for e.g.. gsed instead of sed etc.