elvish/pkg
Kurtis Rader e2f810048e Add $edit:after-command and $edit:command-duration
The `edit:after-command` hooks are called with a single argument:
a pseudo-map with these keys:

    "command": the command line that was run
    "duration": the execution duration in seconds
    "error": any error that occurred ($nil if no error occurred)

The `edit:command-duration` variable is the elapsed seconds (as a
float64) of the most recently run interactive command.

Resolves #1029
2021-05-05 22:17:19 +01:00
..
buildinfo Bump pkg/buildinfo.Version to 0.16.0 2021-01-30 11:31:52 +00:00
cli pkg/cli/mode: Revise a comment. 2021-04-05 15:33:18 +01:00
daemon Copy and trim down the net/rpc package. 2021-01-30 23:56:58 +00:00
diag Minor fixup for #1274. 2021-05-02 00:22:28 +01:00
edit Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
env pkg/util: Move environment variable names to a new package. 2020-08-16 14:12:48 +01:00
eval Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
fsutil Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
getopt Fix typos found by codespell 2020-10-10 22:47:50 +01:00
glob Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
logutil pkg/util: Break into fsutil/ and logutil/. 2020-09-03 05:27:18 +01:00
parse Rename the query DSL to the filter DSL. 2021-03-28 23:52:25 +01:00
persistent Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
prog Add a -i CLI option 2021-04-20 16:15:22 -04:00
rpc Copy and trim down the net/rpc package. 2021-01-30 23:56:58 +00:00
shell Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
store Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
strutil Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
sys Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
testutil Some golint cleanups 2021-04-05 15:31:53 +01:00
tt pkg/eval/vals: Move the "any" matcher to pkg/tt. 2020-01-06 23:19:00 +00:00
ui Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
wcwidth Improve the wcwidth package. 2021-02-11 00:47:21 +00:00
web Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00