1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-04-13 22:30:49 +01: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? E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ fuck ➜ fuck
sudo apt-get install vim sudo apt-get install vim [Enter/Ctrl+C]
[sudo] password for nvbn: [sudo] password for nvbn:
Reading package lists... Done Reading package lists... Done
... ...
@ -29,7 +29,7 @@ To push the current branch and set the remote as upstream, use
➜ fuck ➜ fuck
git push --set-upstream origin master git push --set-upstream origin master [Enter/Ctrl+C]
Counting objects: 9, done. Counting objects: 9, done.
... ...
``` ```
@ -42,7 +42,7 @@ No command 'puthon' found, did you mean:
zsh: command not found: puthon zsh: command not found: puthon
➜ fuck ➜ fuck
python python [Enter/Ctrl+C]
Python 3.4.2 (default, Oct 8 2014, 13:08:17) Python 3.4.2 (default, Oct 8 2014, 13:08:17)
... ...
``` ```
@ -55,7 +55,7 @@ Did you mean this?
branch branch
➜ fuck ➜ fuck
git branch git branch [Enter/Ctrl+C]
* master * master
``` ```
@ -67,13 +67,13 @@ Did you mean this?
repl repl
➜ fuck ➜ 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 nREPL server started on port 54848 on host 127.0.0.1 - nrepl://127.0.0.1:54848
REPL-y 0.3.1 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: [settings](#settings) option:
```bash ```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? E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ fuck ➜ fuck
sudo apt-get install vim [Enter/Ctrl+C] sudo apt-get install vim
[sudo] password for nvbn: [sudo] password for nvbn:
Reading package lists... Done Reading package lists... Done
... ...