From 597767e3fc8378369a84f95ef6c739ce653a76ac Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 8 Jan 2020 16:23:08 +0100 Subject: [PATCH] describe hooks and parameters accessible from them --- notes.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/notes.txt b/notes.txt index 07b88579..f254d393 100644 --- a/notes.txt +++ b/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)