LoginSignup
83
75

More than 5 years have passed since last update.

できるエンジニアはthefuckしてる

Last updated at Posted at 2016-04-11

こんな人向け

  • 会社では普段と違うPCのためよくtypoする!
  • gitコマ○ドうろ覚え!
  • コマン○を微妙に間違って覚えてしまってaliasしてる!
  • とりあえずThe Fuckしたい!!
  • 「fuck!」が口癖!!!

そんなあなたに thefuck

The Fuckイン○トール

環境別

pip

sudo pip install thefuck

brew

brew install thefuck
or
sudo easy_install thefuck

apt-get

sudo apt-get install python-pip python-dev
sudo pip install psutil thefuck

dnf

sudo dnf install python-pip python-devel
sudo pip install thefuck

イ○ストール後

.bashrcとか.bash_profileとかにeval "$(thefuck --alias)"を追記

使う

git st○tus

$ git sttus
git: 'sttus' is not a git command. See 'git --help'.

Did you mean this?
    status
$ fuck
git status [enter/↑/↓/ctrl+c]
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

gi◯

$ gi pull
-bash: gi: command not found
$ fuck
git pull [enter/↑/↓/ctrl+c]
remote: Counting objects: 354, done.
remote: Compressing objects: 100% (246/246), done.
remote: Total 354 (delta 85), reused 5 (delta 5), pack-reused 13

p○thon

$ puthon
-bash: puthon: command not found
$ fuck
python [enter/↑/↓/ctrl+c]
Python 2.7.10 (default, Oct 23 2015, 19:19:21) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

かんぺき!
これで毎日元気にfuck

昨今windowsでもbashが使えてapt-getもできるらしいのでThe Fuckワンチャンあるかも?!

83
75
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
83
75