diff --git a/src/rezplugins/shell/_utils/powershell_base.py b/src/rezplugins/shell/_utils/powershell_base.py index 45c4b336c..a215903b6 100644 --- a/src/rezplugins/shell/_utils/powershell_base.py +++ b/src/rezplugins/shell/_utils/powershell_base.py @@ -273,7 +273,7 @@ def alias(self, key, value): value = EscapedString.disallow(value) # TODO: Find a way to properly escape paths in alias() calls that also # contain args - cmd = "function {key}() {{ {value} $args }}" + cmd = "function {key}() {{ {value} @args }}" self._addline(cmd.format(key=key, value=value)) def comment(self, value):