mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-13 22:28:33 +00:00
Readme: document cd_parent
This commit is contained in:
parent
3f0cbb9326
commit
98f287dad5
@ -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
|
||||
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_push` – adds `--set-upstream origin $branch` to previous failed `git push`;
|
||||
* `no_command` – fixes wrong console commands, for example `vom/vim`;
|
||||
* `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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user