Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: var=$( typeset "$1" ) ... not within a function.
- X-seq: zsh-users 28255
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: var=$( typeset "$1" ) ... not within a function.
- Date: Fri, 21 Oct 2022 11:57:33 -0700
- Archived-at: <https://zsh.org/users/28255>
- In-reply-to: <CAH+w=7Z1Owiv4LRURZXt7VbyyZDYZcC_Y_o4dOLd4muC4Qn_bQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <ff3edbd0-977d-b750-439f-699dc5273870@eastlink.ca> <6c9c8af2-9e00-ab2b-e7df-0c9abeedbc5c@eastlink.ca> <CAH+w=7Z1Owiv4LRURZXt7VbyyZDYZcC_Y_o4dOLd4muC4Qn_bQ@mail.gmail.com>
On 2022-10-21 11:25, Bart Schaefer wrote:
Lower-case cdpath is not an environment variable, so printenv would
have no reason to print it.
Sorry I meant:
2 /aWorking/Zsh/Source/Wk 2 $ printenv path
2 /aWorking/Zsh/Source/Wk 2 $ printenv PATH
.:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2 /aWorking/Zsh/Source/Wk 2 $ typeset -p path
typeset -aT PATH path=( . /aWorking/Zsh/System /aWorking/Bin
/usr/local/bin /usr/sbin /usr/bin /sbin /bin )
2 /aWorking/Zsh/Source/Wk 2 $ typeset -p PATH
export -T PATH path=( . /aWorking/Zsh/System /aWorking/Bin
/usr/local/bin /usr/sbin /usr/bin /sbin /bin )
Messages sorted by:
Reverse Date,
Date,
Thread,
Author