On Tue, Nov 6, 2012 at 2:22 PM, Harald Bögeholz <bo@ct.de> wrote:
I thought that by issuing these two commands

Haralds-iMac:~ bo$ which cabal
/Users/bo/Library/Haskell/bin/cabal

    3@haral:117 B$ type which
    which is /usr/bin/which

It's not a bash builtin, so it doesn't show the current shell's idea of the world.  "type" will show you that.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net