diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-10-24 07:14:39 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-10-24 07:14:39 -0700 |
commit | 0f5e670cde5f844680a20f986786249dfe983584 (patch) | |
tree | f912a4991610294666f2ec708dff1d87a58ea0b5 /Test/B03print.ztst | |
parent | 71dd0ab62ecf67e3a4a60749e9f5b1cfc9ac0ec4 (diff) | |
download | zsh-0f5e670cde5f844680a20f986786249dfe983584.tar.gz zsh-0f5e670cde5f844680a20f986786249dfe983584.tar.xz zsh-0f5e670cde5f844680a20f986786249dfe983584.zip |
"typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r-- | Test/B03print.ztst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst index befe2f2dd..a4431cbc8 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -308,5 +308,5 @@ printf -v foo "%s\0%s-" into the breach typeset -p foo 0:print and printf into a variable ->typeset foo='once more' ->typeset foo=$'into\C-@the-breach\C-@-' +>typeset -g foo='once more' +>typeset -g foo=$'into\C-@the-breach\C-@-' |