/usr/include/zsh/prompt.epro is in zsh-dev 5.0.2-3ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /* Generated automatically */
#ifndef have_Src_prompt_globals
#define have_Src_prompt_globals
extern mod_import_variable unsigned txtattrmask;
extern unsigned char*cmdstack;
extern int cmdsp;
extern mod_import_function char*promptexpand _((char*s,int ns,char*rs,char*Rs,unsigned int*txtchangep));
extern void stradd _((char*d));
extern mod_import_function void tsetcap _((int cap,int flags));
extern int putstr _((int d));
extern mod_import_function void countprompt _((char*str,int*wp,int*hp,int overf));
extern void cmdpush _((int cmdtok));
extern void cmdpop _((void));
extern mod_import_function int match_colour _((const char**teststrp,int is_fg,int colour));
extern mod_import_function void match_highlight _((const char*teststr,int*on_var));
extern mod_import_function int output_highlight _((int atr,char*buf));
extern void set_default_colour_sequences _((void));
extern mod_import_function void allocate_colour_buffer _((void));
extern mod_import_function void free_colour_buffer _((void));
extern mod_import_function void set_colour_attribute _((int atr,int fg_bg,int flags));
#endif /* !have_Src_prompt_globals */
|