ΠΠ°-Π΄Π°, Π²Ρ Π½Π΅ ΠΎΡΠ»ΡΡΠ°Π»ΠΈΡΡ. ΠΠΌΠ΅Π½Π½ΠΎ ΡΠ°ΠΊ — the fuck — Π½Π°Π·ΡΠ²Π°Π΅ΡΡΡ ΡΡΠ° ΠΊΠΎΠ½ΡΠΎΠ»ΡΠ½Π°Ρ ΡΡΠΈΠ»ΠΈΡΠ°, ΡΡΡΡΡ ΠΊΠΎΡΠΎΡΠΎΠΉ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π½Π° Π³ΠΈΡΡ Π°Π±.
ΠΡΠ° Π²ΠΎΠ»ΡΠ΅Π±Π½Π°Ρ ΡΡΠΈΠ»ΠΈΡΠ° Π΄Π΅Π»Π°Π΅Ρ ΠΎΠ΄Π½Ρ ΠΎΡΠ΅Π½Ρ ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΡΠ°Π±ΠΎΡΡ — ΠΈΡΠΏΡΠ°Π²Π»ΡΠ΅Ρ ΠΎΡΠΈΠ±ΠΊΠΈ Π² ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅ΠΉ Π²ΡΠΏΠΎΠ»Π½Π΅Π½Π½ΠΎΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π΅ Π² ΠΊΠΎΠ½ΡΠΎΠ»ΠΈ.
ΠΡΠΈΠΌΠ΅ΡΡ
β 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
sudo apt-get install vim [enter/β/β/ctrl+c]
[sudo] password for nvbn:
Reading package lists… Done
…
ΠΈΠ»ΠΈ ΡΠ°ΠΊ
β git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push —set-upstream origin master
β fuck
git push —set-upstream origin master [enter/β/β/ctrl+c]
Counting objects: 9, done.
…
Π’ΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ
- python (3.4+)
- pip
- python-dev
Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ°
OS X
brew install thefuck
Ubuntu / Mint
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck
FreeBSD
pkg install thefuck
ChromeOS
crew install thefuck
ΠΠ° Π΄ΡΡΠ³ΠΈΡ ΡΠΈΡΡΠ΅ΠΌΠ°Ρ
Π‘ ΠΏΠΎΠΌΠΎΡΡΡ pip
pip install thefuck
ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΠΎΠΏΡΠΈΠΈ
ΠΠ»Ρ ΡΠ°Π±ΠΎΡΡ Π±Π΅Π· Π·Π°ΠΏΡΠΎΡΠΎΠ² Π½Π° ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΡ
fuck —yeah
ΠΠ»Ρ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΡΠ΅ΠΊΡΡΡΠΈΠ²Π½ΠΎ Π΄ΠΎ Π΄ΠΎΡΡΠΈΠΆΠ΅Π½ΠΈΡ ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ°
fuck -r
ΠΡΡΠΎΡΠ½ΠΈΠΊ: linux.org.ru