aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-31 20:41:14 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-31 20:41:14 +0300
commit8d2ffb43db2a80254efb401d2f337f6404db8e03 (patch)
tree5fea4a3416118d56109ae2415387645354c61139 /config/p10k-classic.zsh
parent6d11cb5f5da00ce00291941bcf2706997db2c1fb (diff)
add "help" and "segment" commands to p10k
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 889d6618..baa380df 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -610,9 +610,9 @@ fi
# prompt if `example` prompt segment is added to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS. It displays an icon and orange text greeting the user.
#
- # Type `p9k_prompt_segment -h` for documentation and a more sophisticated example.
+ # Type `p10k help segment` for documentation and a more sophisticated example.
function prompt_example() {
- p9k_prompt_segment -f 208 -i '⭐' -t 'hello, %n'
+ p10k segment -f 208 -i '⭐' -t 'hello, %n'
}
# User-defined prompt segments can be customized the same way as built-in segments.