Oh -- and just to confirm that my system isn't fuxx0red:

codemon...@daves-mbp ~> zsh
1003:codemon...@daves-mbp ~ % type port
port is /opt/local/bin/port
1004:codemon...@daves-mbp ~ % which port
/opt/local/bin/port
1005:codemon...@daves-mbp ~ % type vim
vim is /usr/bin/vim
1006:codemon...@daves-mbp ~ % type mvim
mvim is /Users/codemonkey/bin/mvim
1007:codemon...@daves-mbp ~ % type vi
vi is an alias for mvim
1008:codemon...@daves-mbp ~ %



On Tue, Mar 30, 2010 at 4:22 PM, David Frascone <[email protected]> wrote:

> Which is also broken:
>
> codemon...@daves-mbp ~> which port
> codemon...@daves-mbp ~> port
> MacPorts 1.8.2
> Entering interactive mode... ("help" for help, "quit" to quit)
> [Users/codemonkey] > quit
> Goodbye
> codemon...@daves-mbp ~> which port
> codemon...@daves-mbp ~>
>
>
>
> On Tue, Mar 30, 2010 at 4:18 PM, Isaac Dupree <
> [email protected]> wrote:
>
>> On 03/30/10 16:06, David Frascone wrote:
>>
>>> That would work fine for me.  But, since I don't know where "vi" is,
>>> because
>>> the "type" command doesn't work . . .
>>>
>>
>> use 'which' to find executable files on the PATH (though not to find
>> functions/aliases/builtins). ( /usr/bin/which on my system )
>>
>>
>>  And, here's another one:  When I sudo from zsh or bash, my path is
>>> maintained.  When I do it from fish, the path does not work.  So, in this
>>> case, I was going to install the darwinports port for fish, so I could
>>> look
>>> at the code, but:
>>>
>>> sudo port install fish
>>>
>>
>> Sudo works for me in all shells, but I'm on Linux.  Mac OS X may be set up
>> differently...
>>
>> -Isaac
>>
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to