Skip to content

Commit

Permalink
Script blocks and dynamic invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tye Riley committed May 8, 2024
1 parent dc761d1 commit cb82722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rezplugins/shell/_utils/powershell_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def alias(self, key, value):
# TODO: Find a way to properly escape paths in alias() calls that also
# contain args
#
cmd = "function %s() { %s @args }" % (key, value)
cmd = "function %s { & %s @args }" % (key, value)
self._addline(cmd)

def comment(self, value):
Expand Down

0 comments on commit cb82722

Please sign in to comment.