zsh-workers
 help / color / mirror / code / Atom feed
* exec in zsh -c does not decrement SHLVL.
@ 1999-06-16  7:16 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 1999-06-16  7:16 UTC (permalink / raw)
  To: zsh-workers

Z:akr@is27e1u11% printenv SHLVL
1
Z:akr@is27e1u11% zsh -f
is27e1u11% printenv SHLVL
2
is27e1u11% exec printenv SHLVL
1
Z:akr@is27e1u11% zsh -c 'exec printenv SHLVL'
2
Z:akr@is27e1u11%

I think that "zsh -c 'exec printenv SHLVL'" should print 1.
Is this intentional?
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-16  7:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-16  7:16 exec in zsh -c does not decrement SHLVL Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).