>
>Thomas, of course you are right but the problem was not even *showing* 
>in that 'which emacs' ALWAYS reported
>/sw/bin/emacs and not /usr/bin/emacs
>
>Does bash behave differently from (t)csh? I did not check the PATH 
>because /sw/bin/emacs is exactly what I wanted but still
>/usr/bin/emacs was the one got called. How 'which' in bash gets 
>updated? any 'rehash' equivalent?
>
>M.
>

As Viktor says, there's no rehash equivalent in bash. As for using which 
with bash, I prefer to use 'type'. So, in your previous situation I would
expect

        type emacs

to report 

        emacs is /usr/bin/emacs
        
        
--EA

--
Ettore Aldrovandi
Department of Mathematics       mailto:[EMAIL PROTECTED]
Florida State University        http://www.math.fsu.edu/~ealdrov



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to