mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-02-26 23:17:55 +01:00
Merge 8cc3298bac into 8ed1f58e08
This commit is contained in:
commit
1650d4e0c1
8 changed files with 51 additions and 0 deletions
|
|
@ -4973,6 +4973,18 @@ function instant_prompt_yazi() {
|
|||
_p9k_prompt_segment prompt_yazi $_p9k_color1 yellow YAZI_ICON 1 '$YAZI_LEVEL' '$YAZI_LEVEL'
|
||||
}
|
||||
|
||||
function prompt_vifm() {
|
||||
_p9k_prompt_segment $0 $_p9k_color1 yellow VIFM_ICON 0 '' $VIFM_LEVEL
|
||||
}
|
||||
|
||||
_p9k_prompt_vifm_init() {
|
||||
typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='$VIFM_LEVEL'
|
||||
}
|
||||
|
||||
function instant_prompt_vifm() {
|
||||
_p9k_prompt_segment prompt_vifm $_p9k_color1 yellow VIFM_ICON 1 '$VIFM_LEVEL' '$VIFM_LEVEL'
|
||||
}
|
||||
|
||||
function prompt_midnight_commander() {
|
||||
local -i len=$#_p9k__prompt _p9k__has_upglob
|
||||
_p9k_prompt_segment $0 $_p9k_color1 yellow MIDNIGHT_COMMANDER_ICON 0 '' ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue