Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] feat(prompt): %p for percent encoded pwd
- X-seq: zsh-workers 53030
- From: 廖骏轩 <mikeljx@xxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] feat(prompt): %p for percent encoded pwd
- Date: Mon, 12 Aug 2024 01:38:14 +0800
- Archived-at: <https://zsh.org/workers/53030>
- In-reply-to: <CAN=4vMow1ar5YioeFNuCfNrf3z6tUePpVLtZThvf2Vfc5Aqh=A@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAN=4vMow1ar5YioeFNuCfNrf3z6tUePpVLtZThvf2Vfc5Aqh=A@mail.gmail.com>
> It's suitable for generating OSC 8 and the like. I don't think I ever
> wished zsh had a dedicated escape for URL-encoded $PWD.
Yeah, that makes sense. PROMPT_SUBST is probably more suitable for the job. A new escape is maybe an overkill.
Junxuan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author