This commit is contained in:
deathbybandaid 2022-05-05 13:41:00 -04:00
parent 5ee3526ac9
commit e4ccb7d4cb

View File

@ -32,17 +32,16 @@ def prerun():
sb.commands.dispatch(trigger_dict) sb.commands.dispatch(trigger_dict)
return return
print(comrun.is_pipe_command)
# If the original trigger is not the same after splits # If the original trigger is not the same after splits
# so we will now redispatch to help get the correct function passed # so we will now redispatch to help get the correct function passed
# if comrun.has_command_been_sanitized: if comrun.has_command_been_sanitized:
# if comrun.is_pipe_command: if comrun.is_pipe_command:
# trigger_dict = rebuild_pipes(comrun.commands) trigger_dict = rebuild_pipes(comrun.commands)
# else: print(trigger_dict)
# trigger_dict = comrun.command else:
# sb.commands.dispatch(trigger_dict) trigger_dict = comrun.command
# return sb.commands.dispatch(trigger_dict)
return
# Block the catch-all from running a command twice # Block the catch-all from running a command twice
if comrun.is_catchall and comrun.is_real_command: if comrun.is_catchall and comrun.is_real_command: