mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	Readme: document cd_parent
This commit is contained in:
		| @@ -99,11 +99,12 @@ Changes will available only in a new shell session. | |||||||
| The Fuck tries to match rule for the previous command, create new command | The Fuck tries to match rule for the previous command, create new command | ||||||
| using matched rule and run it. Rules enabled by default: | using matched rule and run it. Rules enabled by default: | ||||||
|  |  | ||||||
|  | * `cd_parent` – changes `cd..` to `cd ..`; | ||||||
| * `git_no_command` – fixes wrong git commands like `git brnch`; | * `git_no_command` – fixes wrong git commands like `git brnch`; | ||||||
| * `git_push` – adds `--set-upstream origin $branch` to previous failed `git push`; | * `git_push` – adds `--set-upstream origin $branch` to previous failed `git push`; | ||||||
| * `no_command` – fixes wrong console commands, for example `vom/vim`; | * `no_command` – fixes wrong console commands, for example `vom/vim`; | ||||||
| * `sudo` – prepends `sudo` to previous command if it failed because of permissions; | * `sudo` – prepends `sudo` to previous command if it failed because of permissions; | ||||||
| * `lein_not_task` – fixes wrong `lein` tasks like `lein rpl`.   | * `lein_not_task` – fixes wrong `lein` tasks like `lein rpl`. | ||||||
|  |  | ||||||
| ## Creating your own rules | ## Creating your own rules | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user