Move commands-related logic to Command and CorrectedCommand
This commit is contained in:
@@ -27,6 +27,6 @@ def git_support(fn, command):
|
||||
expansion = ' '.join(map(quote, split(search.group(2))))
|
||||
new_script = command.script.replace(alias, expansion)
|
||||
|
||||
command = Command._replace(command, script=new_script)
|
||||
command = command.update(script=new_script)
|
||||
|
||||
return fn(command)
|
||||
|
||||
Reference in New Issue
Block a user