Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd, preexec, and supplied prompt themes
- X-seq: zsh-users 11998
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: precmd, preexec, and supplied prompt themes
- Date: Fri, 12 Oct 2007 18:50:05 -0700
- In-reply-to: <20071012215906.GA8935@mastermind>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <DD973F2C-E6A0-4FCA-96F5-6C96701DC677@xxxxxxxxxxxxxxxxxx> <20071012215906.GA8935@mastermind>
On Oct 12, 5:59pm, Matthew Wozniski wrote:
}
} themes should be using
}
} typeset -a precmd_functions
} precmd_functions += my_prompt_precmd
}
} and
}
} typeset -a preexec_functions
} preexec_functions += my_prompt_preexec
}
} If you're talking about prompt themes supplied with zsh, I would
} consider it a bug in the package if those aren't defined that way.
Most of the prompt themes pre-date the existence of the pre*_functions
arrays, and aren't being maintained because their inventors are no longer
zsh-* list participants.
Stomping precmd is the least of the problems with several of those
themes; they rely on now-ancient Linux console fonts for color shading,
assume light-colored text on a dark background, etc. We need some new
ones.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author