Skip to content

Commit

Permalink
[setupaliases.lic] correct due to syntax
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrhoribu authored Jun 15, 2024
1 parent c4afdd0 commit ea8839d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setupaliases.lic
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@ elsif Script.exists?('xnarost')
end

aliases_to_add.each do |trigger, target|
# UpstreamHook.run("<c>#{$clean_lich_char}alias add --global #{trigger} = #{target}")
Script.run('alias', "add --global #{trigger} = #{target}")
UpstreamHook.run("<c>#{$clean_lich_char}alias add --global #{trigger} = #{target}")
end

0 comments on commit ea8839d

Please sign in to comment.