elvish/pkg/shell
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
..
editor.go Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
interact_test.go Remove support for $-exports-. 2021-04-09 00:02:40 +01:00
interact.go Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
paths_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
paths_unix_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
paths_unix.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
paths_windows.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
paths.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
runtime.go Links file module, marks fopen and fclose deprecation in compiler.go 2021-04-08 22:45:16 +01:00
script_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
script.go Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
shell_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
shell_unix_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
shell.go Add $edit:after-command and $edit:command-duration 2021-05-05 22:17:19 +01:00
signal_unix.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
signal_windows.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00