1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-19 04:21:14 +00:00

Reflect the new default for require_confirmation

This commit is contained in:
mcarton 2015-07-20 21:06:59 +02:00
parent afc089bc3c
commit d4fada8e4c

View File

@ -14,7 +14,7 @@ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ fuck
sudo apt-get install vim
sudo apt-get install vim [Enter/Ctrl+C]
[sudo] password for nvbn:
Reading package lists... Done
...
@ -29,7 +29,7 @@ To push the current branch and set the remote as upstream, use
➜ fuck
git push --set-upstream origin master
git push --set-upstream origin master [Enter/Ctrl+C]
Counting objects: 9, done.
...
```
@ -42,7 +42,7 @@ No command 'puthon' found, did you mean:
zsh: command not found: puthon
➜ fuck
python
python [Enter/Ctrl+C]
Python 3.4.2 (default, Oct 8 2014, 13:08:17)
...
```
@ -55,7 +55,7 @@ Did you mean this?
branch
➜ fuck
git branch
git branch [Enter/Ctrl+C]
* master
```
@ -67,13 +67,13 @@ Did you mean this?
repl
➜ fuck
lein repl
lein repl [Enter/Ctrl+C]
nREPL server started on port 54848 on host 127.0.0.1 - nrepl://127.0.0.1:54848
REPL-y 0.3.1
...
```
If you are scared to blindly run the changed command, there is a `require_confirmation`
If you are not scared to blindly run the changed command, there is a `require_confirmation`
[settings](#settings) option:
```bash
@ -82,7 +82,7 @@ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ fuck
sudo apt-get install vim [Enter/Ctrl+C]
sudo apt-get install vim
[sudo] password for nvbn:
Reading package lists... Done
...