From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15755 invoked by alias); 12 May 2017 16:21:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22692 Received: (qmail 12715 invoked from network); 12 May 2017 16:21:48 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 2.109826 secs); 12 May 2017 16:21:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (11) Date: Fri, 12 May 2017 18:21:41 +0200 From: Sebastian Gniazdowski To: zsh-users@zsh.org Message-ID: Subject: declare -p and -H (hideval) X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, written small plugin to fullscreen flash all interactive-created paramete= rs=C2=A0https://github.com/zdharma/zbrowse. I use =22declare -p=22 there, when user selects a parameter. No value is = being shown for -H parameters. Is this correct=3F Manual says: Hide value: specifies that tt(typeset) will not display the value of the parameter when listing parameters; the display for such parameters is always as if the =60tt(PLUS())' flag had been given. =C2=A0Use of the par= ameter is in other respects normal, and the option does not apply if the parameter = is specified by name, or by pattern with the tt(-m) option. The =22, and ...=22 at the end would suggest that if =22declare -p NAME=22= or =22declare -pm NAME=22 will be used, the value will be shown, but thi= s doesn't happen. Any way to avoid -H effects with typeset -p=3F -- Sebastian Gniazdowski psprint /at/ zdharma.org