Currently, my $PATH has two identical entries for /usr/local/bin
and I'm curious whether there's a way to clean that up, or if I should just not worry about it. It looks like this (broken up into a readable list):
/Users/myself/.rvm/gems/ruby-2.0.0-p353/bin
/Users/myself/.rvm/gems/ruby-2.0.0-p353@global/bin
/Users/myself/.rvm/rubies/ruby-2.0.0-p353/bin
/usr/local/bin <--( Here )
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin <--( Here )
/opt/X11/bin
/usr/texbin
/Users/myself/.rvm/bin
zsh
:typeset -U path
. – Stéphane Chazelas Jan 19 '14 at 18:53tcsh
:set -f path = ($path:q)
– Stéphane Chazelas Jan 19 '14 at 18:55