1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

add to readme and flake

This commit is contained in:
Connor Martin 2020-10-09 09:18:53 -05:00
parent 1b61e1aacb
commit 0745583f94
2 changed files with 2 additions and 1 deletions

View File

@ -184,6 +184,7 @@ following rules are enabled by default:
* `chmod_x` – add execution bit;
* `choco_install` – append common suffixes for chocolatey packages;
* `composer_not_command` – fixes composer command name;
* `conda_mistype` – fixes conda commands;
* `cp_create_destination` – creates a new directory when you attempt to `cp` or `mv` to a non existent one
* `cp_omitting_directory` – adds `-a` when you `cp` directory;
* `cpp11` – adds missing `-std=c++11` to `g++` or `clang++`;

View File

@ -1,5 +1,5 @@
import re
from thefuck.utils import get_all_matched_commands, replace_command
from thefuck.utils import replace_command
def match(command):