1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

Added dry example to the readme

This commit is contained in:
Jacob Ebey 2015-04-17 14:37:13 -07:00
parent 3ce78125a0
commit bc7dd5c762

View File

@ -51,6 +51,21 @@ git branch
* master
```
Doing it dry:
```
➜ apt-get install vim
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 --dry
sudo apt-get install vim
Run command? [Y/n]: y
[sudo] password for nvbn:
Reading package lists... Done
```
## Installation
Install `The Fuck`: