From 00080f8337cb90aacd3488878ca6d2cb71800a6d Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 24 Jan 2022 21:41:43 +1100 Subject: [PATCH] Remove explicit fail in `new` command That fail prevents the real error message from being displayed --- rc/windowing/new-client.kak | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rc/windowing/new-client.kak b/rc/windowing/new-client.kak index 4e9ae62f..ee48a509 100644 --- a/rc/windowing/new-client.kak +++ b/rc/windowing/new-client.kak @@ -3,10 +3,6 @@ new []: create a new Kakoune client The ''terminal'' alias is being used to determine the user''s preferred terminal emulator The optional arguments are passed as commands to the new client' \ %{ - try %{ - terminal kak -c %val{session} -e "%arg{@}" - } catch %{ - fail "The 'terminal' alias must be defined to use this command" - } + terminal kak -c %val{session} -e "%arg{@}" }