Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cannot export some shell variables



    Hi Vincent :)

 * Vincent Stemen <zsh@xxxxxxxxxxx> dixit:
> Some shell variables do not seem to export to child shells.  Two
> variable names I know of so far are $y and $r.  Is there something
> special about certain variable names that could cause this
> behavior?

    Not that I know of. Maybe your rc files are doing something
weird?
 
> For example:
> 
> # export x=1 y=2 z=3 q=4 r=5
> # env
> ...
> SAVEHIST=500
> DIRSTACKSIZE=8
> x=1
> y=2
> z=3
> q=4
> r=5
> 
> # zsh
> # env
> ...
> SAVEHIST=500
> DIRSTACKSIZE=8
> x=1
> z=3
> q=4

    Same commands here and I didn't got that output. My 'env' showed
the same list of vars the two times, running 4.2.5. Maybe you hit a
bug in an older version :?????
 
    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...



Messages sorted by: Reverse Date, Date, Thread, Author