mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-26 05:50:07 +00:00
describe hooks and parameters accessible from them
This commit is contained in:
parent
9f83e5e1dc
commit
597767e3fc
1 changed files with 13 additions and 0 deletions
13
notes.txt
13
notes.txt
|
@ -18,3 +18,16 @@ time ( repeat 1000 ( () {
|
|||
} ) ) # 2.774s
|
||||
|
||||
time ( repeat 1000 ( () {} ) ) # 0.960s
|
||||
|
||||
Hooks:
|
||||
|
||||
p10k-on-init
|
||||
p10k-on-pre-prompt
|
||||
p10k-on-post-prompt
|
||||
p10k-on-buffer-change
|
||||
|
||||
Parameters accessible from hooks:
|
||||
|
||||
P9K_PROMPT=regular|instant
|
||||
P9K_TTY=old|new
|
||||
P9K_COMMAND (only in p10k-on-post-prompt)
|
||||
|
|
Loading…
Reference in a new issue