mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	Fix typos
This commit is contained in:
		| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user