mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
Add instant prompt for arch
This commit is contained in:
parent
01467fae4f
commit
59e90bd8b0
1 changed files with 2 additions and 0 deletions
|
@ -5635,6 +5635,8 @@ prompt_arch() {
|
|||
_p9k_prompt_segment "$0" "$_p9k_color1" "orange1" 'ARCH_ICON' 0 '' "$_p9k__cache_val[1]"
|
||||
}
|
||||
|
||||
instant_prompt_arch() { prompt_arch; }
|
||||
|
||||
_p9k_prompt_arch_init() {
|
||||
echo 'arch init' >> ~/p9k_debug.txt
|
||||
typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='$commands[arch]'
|
||||
|
|
Loading…
Reference in a new issue