diff options
author | brent-moffit <72231013+brent-moffit@users.noreply.github.com> | 2022-02-14 23:38:13 +0300 |
---|---|---|
committer | brent-moffit <72231013+brent-moffit@users.noreply.github.com> | 2022-02-14 23:38:13 +0300 |
commit | 59e90bd8b0bee6b00bc9153f13336f6cafeae08a (patch) | |
tree | 52cb21698a8bacf63e44d9ef0f0fb7b82800c6b5 /internal/p10k.zsh | |
parent | 01467fae4f72dd1bf4b73708e6e356b5417dfc68 (diff) |
Add instant prompt for arch
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 965fd816..2adbc40f 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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]' |