Remove explicit fail in new command

That fail prevents the real error message from being displayed
This commit is contained in:
Maxime Coste 2022-01-24 21:41:43 +11:00
parent a361020632
commit 00080f8337

View File

@ -3,10 +3,6 @@ new [<commands>]: create a new Kakoune client
The ''terminal'' alias is being used to determine the user''s preferred terminal emulator 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' \ The optional arguments are passed as commands to the new client' \
%{ %{
try %{
terminal kak -c %val{session} -e "%arg{@}" terminal kak -c %val{session} -e "%arg{@}"
} catch %{
fail "The 'terminal' alias must be defined to use this command"
}
} }