Add on-load command (#2010)
This commit is contained in:
1 parent
b76d2546e1
commit
ff0c7f1c96
6 files changed
+47
-3
No files matched your search
@@ -229,6 +229,7 @@ of lf when defined:
|
||||
delete
|
||||
pre-cd
|
||||
on-cd
|
||||
on-load
|
||||
on-focus-gained
|
||||
on-focus-lost
|
||||
on-init
|
||||
@@ -1261,6 +1262,11 @@ on-cd
|
||||
This shell command can be defined to be executed after changing a
|
||||
directory.
|
||||
|
||||
on-load
|
||||
|
||||
This shell command can be defined to be executed after loading a
|
||||
directory. It provides the files inside the directory as arguments.
|
||||
|
||||
on-focus-gained
|
||||
|
||||
This shell command can be defined to be executed when the terminal gains
|
||||
@@ -1920,7 +1926,8 @@ Note that all shell commands are possible but % and & are usually more
|
||||
appropriate as $ and ! causes flickers and pauses respectively.
|
||||
|
||||
There is also a pre-cd command, that works like on-cd, but is run before
|
||||
the directory is actually changed.
|
||||
the directory is actually changed. Another related command is on-load
|
||||
which gets executed when loading a directory.
|
||||
|
||||
COLORS
|
||||
|
||||
|
||||
Reference in new issue
Block a user