From ea8839d4f235794b4c3d78583c7824791acd6489 Mon Sep 17 00:00:00 2001 From: "Ryan P. McKinnon" <15917743+mrhoribu@users.noreply.github.com> Date: Sat, 15 Jun 2024 18:20:24 -0400 Subject: [PATCH] [setupaliases.lic] correct due to syntax Due to how alias.lic works for adding/removing aliases, must be sent as an upstream command or a do_client as just running via Script.run is not compatible. --- setupaliases.lic | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setupaliases.lic b/setupaliases.lic index e5f0e9d16b..f86b0c1da8 100644 --- a/setupaliases.lic +++ b/setupaliases.lic @@ -68,6 +68,5 @@ elsif Script.exists?('xnarost') end aliases_to_add.each do |trigger, target| - # UpstreamHook.run("#{$clean_lich_char}alias add --global #{trigger} = #{target}") - Script.run('alias', "add --global #{trigger} = #{target}") + UpstreamHook.run("#{$clean_lich_char}alias add --global #{trigger} = #{target}") end