summary refs log tree commit diff
path: root/Src/params.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-06-09 15:37:05 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-06-09 15:37:05 +0000
commit6b87e6fda32ce20feab9b4922c8841d5329c232f (patch)
tree1d72ffeab95f06203b481a96308460eabaeff9a6 /Src/params.c
parent716f5d4e3940ab5129eda866aa20b8fd2d458999 (diff)
downloadzsh-6b87e6fda32ce20feab9b4922c8841d5329c232f.tar.gz
zsh-6b87e6fda32ce20feab9b4922c8841d5329c232f.tar.xz
zsh-6b87e6fda32ce20feab9b4922c8841d5329c232f.zip
11838: typeset -H
Diffstat (limited to 'Src/params.c')
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c
index 43492c5ad..f57173495 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -3181,7 +3181,7 @@ printparamnode(HashNode hn, int printflags)
 	    printf("exported ");
     }
 
-    if (printflags & PRINT_NAMEONLY) {
+    if ((printflags & PRINT_NAMEONLY) || (p->flags & PM_HIDEVAL)) {
 	zputs(p->nam, stdout);
 	putchar('\n');
 	return;