On Tue, Mar 30, 2010 at 3:55 PM, Isaac Dupree <
[email protected]> wrote:
> On 03/30/10 15:48, David Frascone wrote:
>
>> Ideas? The vi command does work, so I don't know why type does not return
>> it. Or what the garbage is in the line before type's output.
>>
>
> For myself, I don't use aliases/functions, I use shell scripts. For
> example, on my path, I have
> $HOME/scripts
>
> and I could have a file $HOME/scripts/vi, that I chmod +x, that reads
> #!/bin/sh
>
That would work fine for me. But, since I don't know where "vi" is, because
the "type" command doesn't work . . .
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
Does not work, because port is not properly in the sudo path. And, I can't
invoke it directly, because:
type port
Also does not work. So, in this case, I had to do this:
exec zsh
type port
exec fish
sudo /opt/local/bin/port install fish
Now, /opt/local/bin is in my path, but, my "user" doesn't have access to
install ports, root does . . .
These are some of the issues which caused me to dump fish in the past.
------------------------------------------------------------------------------
Download Intel® 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