command = "mv" [[match_err]] pattern = [ "no such file or directory" ] suggest = [ ''' mkdir --parents {{command[-1]}} && \ {{command}} ''' ]