Add on-init hook command (#1838)

This commit is contained in:
Joe Lim authored and GitHub committed 2024-11-06 12:12:12 +11:00
1 parent 0b51987044
commit 670343a23f
5 files changed
+27 -2

No files matched your search

+5
View File
@@ -239,6 +239,7 @@ The following special shell commands are used to customize the behavior of lf wh
on-cd
on-focus-gained
on-focus-lost
on-init
on-select
on-redraw
on-quit
@@ -1143,6 +1144,10 @@ This shell command can be defined to be executed when the terminal gains focus.
This shell command can be defined to be executed when the terminal loses focus.
## on-init
This shell command can be defined to be executed after initializing and connecting to the server.
## on-select
This shell command can be defined to be executed after the selection changes.