1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 17:00:32 +02:00

Add typeset -p1, like typeset -p with newlines

This commit is contained in:
Peter Stephenson 2017-09-30 13:35:19 +01:00
parent a1276c88e1
commit 728f2adfc8
7 changed files with 108 additions and 31 deletions

View file

@ -2128,13 +2128,14 @@ typedef groupset *Groupset;
#define PRINT_KV_PAIR (1<<3)
#define PRINT_INCLUDEVALUE (1<<4)
#define PRINT_TYPESET (1<<5)
#define PRINT_LINE (1<<6)
/* flags for printing for the whence builtin */
#define PRINT_WHENCE_CSH (1<<6)
#define PRINT_WHENCE_VERBOSE (1<<7)
#define PRINT_WHENCE_SIMPLE (1<<8)
#define PRINT_WHENCE_FUNCDEF (1<<9)
#define PRINT_WHENCE_WORD (1<<10)
#define PRINT_WHENCE_CSH (1<<7)
#define PRINT_WHENCE_VERBOSE (1<<8)
#define PRINT_WHENCE_SIMPLE (1<<9)
#define PRINT_WHENCE_FUNCDEF (1<<10)
#define PRINT_WHENCE_WORD (1<<11)
/* Return values from loop() */