This is a feature request.
Please, compare these two screenshots:
Personally, I find it useful, and maybe you will like it too.
The method I use is buggy, as it can't handle %
anywhere in the path:
diff --git a/pure.zsh b/pure.zsh
index e3813b7..fc96474 100644
--- a/pure.zsh
+++ b/pure.zsh
@@ -113,9 +113,8 @@ prompt_pure_preprompt_render() {
# Initialize the preprompt array.
local -a preprompt_parts
-
# Set the path.
- preprompt_parts+=('%F{blue}%~%f')
+ preprompt_parts+=('%F{blue}${${(%):-%~}//\//%B/%b}%f')
# Add git branch and dirty status info.
typeset -gA prompt_pure_vcs_info
There is a $40.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too