mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
Renamed to unknown command to better match current functionality
This commit is contained in:
parent
c08a8bddc9
commit
8c9416e57f
@ -162,7 +162,6 @@ using the matched rule and runs it. Rules enabled by default are as follows:
|
||||
* `go_run` – appends `.go` extension when compiling/running Go programs
|
||||
* `grep_recursive` – adds `-r` when you trying to `grep` directory;
|
||||
* `gulp_not_task` – fixes misspelled gulp tasks;
|
||||
* `hadoop_dfs_missing_dash` – Add the missing dash to the command.
|
||||
* `has_exists_script` – prepends `./` when script/binary exists;
|
||||
* `heroku_no_command` – fixes wrong `heroku` commands like `heroku log`;
|
||||
* `history` – tries to replace command with most similar command from history;
|
||||
@ -192,6 +191,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
|
||||
* `tsuru_login` – runs `tsuru login` if not authenticated or session expired;
|
||||
* `tsuru_not_command` – fixes wrong tsuru commands like `tsuru shell`;
|
||||
* `tmux` – fixes `tmux` commands;
|
||||
* `unknown_command` – fixes hadoop hdfs-style "unknown command" for example adds missing '-' to the command on `hdfs dfs ls`;
|
||||
* `whois` – fixes `whois` command.
|
||||
|
||||
Enabled by default only on specific platforms:
|
||||
|
@ -1,5 +1,5 @@
|
||||
import pytest
|
||||
from thefuck.rules.hadoop_dfs_missing_dash import match, get_new_command
|
||||
from thefuck.rules.unknown_command import match, get_new_command
|
||||
from tests.utils import Command
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user