Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Equivalent for Bash' ${variable_name@P}



> On 16/08/2023 12:54 Budi <budikusasi@xxxxxxxxx> wrote:
> What zsh equivalent for Bash' ${variable_name@P} for printing shell
> prompt prefix string ?

${(%%)variable_name}

is the nearest, but as I expect you've discovered the actual prompt
escapes are totally different.

pws




Messages sorted by: Reverse Date, Date, Thread, Author