From f85f0b72729ebbc1d93020b1c1a52a2f2fb3bc59 Mon Sep 17 00:00:00 2001 From: Ryosuke Hayashi Date: Mon, 2 May 2022 23:15:02 +0900 Subject: Add run-shell-command for Commands (#1682) * add run_shell_command * docgen * fix command name Co-authored-by: Blaž Hrastnik * refactored Info::new * show 'Command failed' if execution fails * TypedCommand takes care of error handling and printing the error to the statusline. * docgen * use Popup instead of autoinfo * remove to_string in format! * Revert chage in info.rs * Show "Command succeed" when success * Fix info.rs Co-authored-by: Blaž Hrastnik --- book/src/generated/typable-cmd.md | 1 + 1 file changed, 1 insertion(+) (limited to 'book/src') diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index ac210202..df0841b6 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -63,3 +63,4 @@ | `:config-reload` | Refreshes helix's config. | | `:config-open` | Open the helix config.toml file. | | `:pipe` | Pipe each selection to the shell command. | +| `:run-shell-command`, `:sh` | Run a shell command | -- cgit v1.2.3-70-g09d2