diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-08 18:23:08 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-08 18:23:08 +0300 |
commit | 597767e3fc8378369a84f95ef6c739ce653a76ac (patch) | |
tree | ba6ac7238e2d476f13e5c8446078c77863528c3b /notes.txt | |
parent | 9f83e5e1dc9ced2c9d9fcd7272a1e849f6239e9e (diff) |
describe hooks and parameters accessible from them
Diffstat (limited to 'notes.txt')
-rw-r--r-- | notes.txt | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) |