1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

Merge branch 'suvjunmd-master'

Conflicts:
	README.md
This commit is contained in:
nvbn 2015-04-20 15:33:00 +02:00
commit aca04c2b07

View File

@ -118,7 +118,7 @@ function fuck {
}
```
Changes will available only in a new shell session.
Changes will be available only in a new shell session.
## Update
@ -146,7 +146,7 @@ in `~/.thefuck/rules`. Rule should contain two functions:
`match(command: Command, settings: Settings) -> bool`
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`.
@ -167,7 +167,7 @@ def get_new_command(command, settings):
## Settings
The Fuck have a few settings parameters:
The Fuck has a few settings parameters:
* `rules` – list of enabled rules, by default all;
* `wait_command` – max amount of time in seconds for getting previous command output;