On Tue, Mar 30, 2010 at 11:28 PM, Ben Hoskings <[email protected]> wrote:

> 2010/3/31 David Frascone <[email protected]>
>
>
>> And, my path is set completely differently.  Ok -- so -- that could just
>> be some weird login -vs- interactive shell setting.  I get that.  But,
>> here's the really strange part.  In my home directory's config.fish, I have
>> this snippet:
>>
>> if [ -d ~/bin ]
>>    echo "PATH before: " $PATH
>>    set -g PATH $PATH ~/bin
>>    echo "PATH after: " $PATH
>> end
>>
>>
>> So, if my ~/bin exists, it will be appended to the path.  For the login
>> shell, this works.  For all other shells, the code executes, but the path
>> does NOT change -- WTF?!?!?!
>>
>
> Setting the PATH fails if any of the component dirs don't exist. And it
> fails with a broken error message - 'value too large to be stored in data
> type'.
>
>
The path DOES exist -- it does go into the if statement on the first (login)
shell, and it does set the path.

On the second shell, it also goes into the if statement -- the directory
still exists.  However, the path is not appended this time.
------------------------------------------------------------------------------
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