Remove explicit fail in new
command
That fail prevents the real error message from being displayed
This commit is contained in:
parent
a361020632
commit
00080f8337
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user