mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 07:10:52 +01:00
Fix typos
This commit is contained in:
parent
ef20a68d56
commit
219534675a
@ -106,7 +106,7 @@ function fuck
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
Changes will available only in a new shell session.
|
Changes will be available only in a new shell session.
|
||||||
|
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
@ -134,7 +134,7 @@ in `~/.thefuck/rules`. Rule should contain two functions:
|
|||||||
`match(command: Command, settings: Settings) -> bool`
|
`match(command: Command, settings: Settings) -> bool`
|
||||||
and `get_new_command(command: Command, settings: Settings) -> str`.
|
and `get_new_command(command: Command, settings: Settings) -> str`.
|
||||||
|
|
||||||
`Command` have three attributes: `script`, `stdout` and `stderr`.
|
`Command` has three attributes: `script`, `stdout` and `stderr`.
|
||||||
|
|
||||||
`Settings` is `~/.thefuck/settings.py`.
|
`Settings` is `~/.thefuck/settings.py`.
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ def get_new_command(command, settings):
|
|||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
The Fuck have a few settings parameters:
|
The Fuck has a few settings parameters:
|
||||||
|
|
||||||
* `rules` – list of enabled rules, by default all;
|
* `rules` – list of enabled rules, by default all;
|
||||||
* `wait_command` – max amount of time in seconds for getting previous command output;
|
* `wait_command` – max amount of time in seconds for getting previous command output;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user