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