Fancy left prompt recipes, examples, etc #282
-
Hi – been loving blesh so far. One thing I've been missing from zsh is powerlevel9k/powerlevel10k-style prompt configs. After fiddling a little with the airline feature I'm guessing ble.sh might already have some of it's capabilities, so I thought I'd ask if there were any known recipes? Also wondered if it would be feasible to have prompt elements spec approach sometime in the future: typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
virtualenv time dir background_jobs_joined vcs vi_mode
)
p10k reload |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thank you for the suggestion.
On the other hand, I would assume that there would be already many prompt settings for
Of course, I guess there are even more segment/element-based prompt settings that I'm not aware of. And, also I think there are many other powerline-style prompts that are not segment/element-based. But maybe I can implement a good one, which is efficient, adaptive, and better fused with ble.sh, if I have time. |
Beta Was this translation helpful? Give feedback.
Thank you for the suggestion.
ble.sh
itself doesn't have the feature. As described in README,ble.sh
has been intended to be a line editor as a replacement for Readline, which is independent of prompt settings. My intention was thatble.sh
would be combined with the user's prompt setting or with another framework primarily focusing on prompts. One of the reasons that I prepared vim-airline is for the demonstration of the status bar, and another reason is that there are no other prompt settings for Bash that provides the status bar because the status bar isble.sh
's specific feature.On the other hand, I would assume that …