{"action":"created","issue":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/637","repository_url":"https://api.github.com/repos/nvbn/thefuck","labels_url":"https://api.github.com/repos/nvbn/thefuck/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/nvbn/thefuck/issues/637/comments","events_url":"https://api.github.com/repos/nvbn/thefuck/issues/637/events","html_url":"https://github.com/nvbn/thefuck/issues/637","id":224842928,"number":637,"title":"Support yarn require muscle memory","user":{"login":"fluxsauce","id":976391,"avatar_url":"https://avatars1.githubusercontent.com/u/976391?v=3","gravatar_id":"","url":"https://api.github.com/users/fluxsauce","html_url":"https://github.com/fluxsauce","followers_url":"https://api.github.com/users/fluxsauce/followers","following_url":"https://api.github.com/users/fluxsauce/following{/other_user}","gists_url":"https://api.github.com/users/fluxsauce/gists{/gist_id}","starred_url":"https://api.github.com/users/fluxsauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluxsauce/subscriptions","organizations_url":"https://api.github.com/users/fluxsauce/orgs","repos_url":"https://api.github.com/users/fluxsauce/repos","events_url":"https://api.github.com/users/fluxsauce/events{/privacy}","received_events_url":"https://api.github.com/users/fluxsauce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-27T16:32:33Z","updated_at":"2017-05-14T23:27:16Z","closed_at":"2017-05-14T23:27:16Z","body":"`thefuck` does work with `yarn`, but I found an edge case.\r\n\r\nThe following command was valid in `npm` but not `yarn`:\r\n\r\n```\r\nyarn require lodash\r\n```\r\n\r\nYou're supposed to use `yarn add` for reasons. However, `thefuck` suggests `remove` and `run`.\r\n\r\nContext:\r\n* `The Fuck 3.16 using Python 2.7.10`\r\n* `zsh`\r\n* OS X 10.10.5\r\n* `yarn` version `0.23.2`\r\n\r\n```\r\n➜  REPO git:(BRANCH) ✗ export THEFUCK_DEBUG=true\r\n➜  REPO git:(BRANCH) ✗ yarn require lodash\r\nyarn require v0.23.2\r\nerror Command \"require\" not found.\r\n➜  REPO git:(BRANCH) ✗ fuck\r\nDEBUG: Run with settings: {'alter_history': True,\r\n 'debug': True,\r\n 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},\r\n 'exclude_rules': [],\r\n 'history_limit': None,\r\n 'no_colors': False,\r\n 'priority': {},\r\n 'repeat': False,\r\n 'require_confirmation': True,\r\n 'rules': [<const: All rules enabled>],\r\n 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],\r\n 'user_dir': PosixPath('/Users/USERNAME/.config/thefuck'),\r\n 'wait_command': 3,\r\n 'wait_slow_command': 15}\r\nDEBUG: Received stdout: yarn require v0.23.2\r\n\r\nDEBUG: Received stderr: error Command \"require\" not found.\r\n\r\nDEBUG: Call: yarn require lodash; with env: {'PYTHONIOENCODING': 'utf-8', 'LESS': '-R', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'LC_CTYPE': 'en_US.UTF-8', 'LOGNAME': 'USERNAME', 'USER': 'USERNAME', 'PATH': '/usr/local/opt/curl/bin:/Users/USERNAME/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki', 'HOME': '/Users/USERNAME', 'ZSH': '/Users/USERNAME/.oh-my-zsh', 'LANG': 'C', 'THEFUCK_DEBUG': 'true', 'TERM': 'xterm-256color', 'SHELL': '/bin/zsh', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '0', 'SECURITYSESSIONID': '186a5', 'XPC_FLAGS': '0x0', 'TMPDIR': '/var/folders/z_/8_xq4jhj4_s5zxc41q92296xx91bpw/T/', 'TF_SHELL_ALIASES': '-=\\'cd -\\'\\n...=../..\\n....=../../..\\n.....=../../../..\\n......=../../../../..\\n1=\\'cd -\\'\\n2=\\'cd -2\\'\\n3=\\'cd -3\\'\\n4=\\'cd -4\\'\\n5=\\'cd -5\\'\\n6=\\'cd -6\\'\\n7=\\'cd -7\\'\\n8=\\'cd -8\\'\\n9=\\'cd -9\\'\\n_=sudo\\nafind=\\'ack -il\\'\\nd=\\'dirs -v | head -10\\'\\ng=git\\nga=\\'git add\\'\\ngaa=\\'git add --all\\'\\ngapa=\\'git add --patch\\'\\ngau=\\'git add --update\\'\\ngb=\\'git branch\\'\\ngba=\\'git branch -a\\'\\ngbd=\\'git branch -d\\'\\ngbda=\\'git branch --no-color --merged | command grep -vE \"^(\\\\*|\\\\s*(master|develop|dev)\\\\s*$)\" | command xargs -n 1 git branch -d\\'\\ngbl=\\'git blame -b -w\\'\\ngbnm=\\'git branch --no-merged\\'\\ngbr=\\'git branch --remote\\'\\ngbs=\\'git bisect\\'\\ngbsb=\\'git bisect bad\\'\\ngbsg=\\'git bisect good\\'\\ngbsr=\\'git bisect reset\\'\\ngbss=\\'git bisect start\\'\\ngc=\\'git commit -v\\'\\n\\'gc!\\'=\\'git commit -v --amend\\'\\ngca=\\'git commit -v -a\\'\\n\\'gca!\\'=\\'git commit -v -a --amend\\'\\ngcam=\\'git commit -a -m\\'\\n\\'gcan!\\'=\\'git commit -v -a --no-edit --amend\\'\\n\\'gcans!\\'=\\'git commit -v -a -s --no-edit --amend\\'\\ngcb=\\'git checkout -b\\'\\ngcd=\\'git checkout develop\\'\\ngcf=\\'git config --list\\'\\ngcl=\\'git clone --recursive\\'\\ngclean=\\'git clean -fd\\'\\ngcm=\\'git checkout master\\'\\ngcmsg=\\'git commit -m\\'\\n\\'gcn!\\'=\\'git commit -v --no-edit --amend\\'\\ngco=\\'git checkout\\'\\ngcount=\\'git shortlog -sn\\'\\ngcp=\\'git cherry-pick\\'\\ngcpa=\\'git cherry-pick --abort\\'\\ngcpc=\\'git cherry-pick --continue\\'\\ngcs=\\'git commit -S\\'\\ngcsm=\\'git commit -s -m\\'\\ngd=\\'git diff\\'\\ngdca=\\'git diff --cached\\'\\ngdct=\\'git describe --tags `git rev-list --tags --max-count=1`\\'\\ngdt=\\'git diff-tree --no-commit-id --name-only -r\\'\\ngdw=\\'git diff --word-diff\\'\\ngf=\\'git fetch\\'\\ngfa=\\'git fetch --all --prune\\'\\ngfo=\\'git fetch origin\\'\\ngg=\\'git gui citool\\'\\ngga=\\'git gui citool --amend\\'\\nggpull=\\'git pull origin $(git_current_branch)\\'\\nggpur=ggu\\nggpush=\\'git push origin $(git_current_branch)\\'\\nggsup=\\'git branch --set-upstream-to=origin/$(git_current_branch)\\'\\nghh=\\'git help\\'\\ngignore=\\'git update-index --assume-unchanged\\'\\ngignored=\\'git ls-files -v | grep \"^[[:lower:]]\"\\'\\ngit-svn-dcommit-push=\\'git svn dcommit && git push github master:svntrunk\\'\\ngk=\\'\\\\gitk --all --branches\\'\\ngke=\\'\\\\gitk --all $(git log -g --pretty=%h)\\'\\ngl=\\'git pull\\'\\nglg=\\'git log --stat\\'\\nglgg=\\'git log --graph\\'\\nglgga=\\'git log --graph --decorate --all\\'\\nglgm=\\'git log --graph --max-count=10\\'\\nglgp=\\'git log --stat -p\\'\\nglo=\\'git log --oneline --decorate\\'\\ngloburl=\\'noglob urlglobber \\'\\nglog=\\'git log --oneline --decorate --graph\\'\\ngloga=\\'git log --oneline --decorate --graph --all\\'\\nglol=\\'git log --graph --pretty=\\'\\\\\\'\\'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\\'\\\\\\'\\' --abbrev-commit\\'\\nglola=\\'git log --graph --pretty=\\'\\\\\\'\\'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\\'\\\\\\'\\' --abbrev-commit --all\\'\\nglp=_git_log_prettily\\nglum=\\'git pull upstream master\\'\\ngm=\\'git merge\\'\\ngmom=\\'git merge origin/master\\'\\ngmt=\\'git mergetool --no-prompt\\'\\ngmtvim=\\'git mergetool --no-prompt --tool=vimdiff\\'\\ngmum=\\'git merge upstream/master\\'\\ngp=\\'git push\\'\\ngpd=\\'git push --dry-run\\'\\ngpoat=\\'git push origin --all && git push origin --tags\\'\\ngpristine=\\'git reset --hard && git clean -dfx\\'\\ngpsup=\\'git push --set-upstream origin $(git_current_branch)\\'\\ngpu=\\'git push upstream\\'\\ngpv=\\'git push -v\\'\\ngr=\\'git remote\\'\\ngra=\\'git remote add\\'\\ngrb=\\'git rebase\\'\\ngrba=\\'git rebase --abort\\'\\ngrbc=\\'git rebase --continue\\'\\ngrbi=\\'git rebase -i\\'\\ngrbm=\\'git rebase master\\'\\ngrbs=\\'git rebase --skip\\'\\ngrep=\\'grep  --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn}\\'\\ngrh=\\'git reset HEAD\\'\\ngrhh=\\'git reset HEAD --hard\\'\\ngrmv=\\'git remote rename\\'\\ngrrm=\\'git remote remove\\'\\ngrset=\\'git remote set-url\\'\\ngrt=\\'cd $(git rev-parse --show-toplevel || echo \".\")\\'\\ngru=\\'git reset --\\'\\ngrup=\\'git remote update\\'\\ngrv=\\'git remote -v\\'\\ngsb=\\'git status -sb\\'\\ngsd=\\'git svn dcommit\\'\\ngsi=\\'git submodule init\\'\\ngsps=\\'git show --pretty=short --show-signature\\'\\ngsr=\\'git svn rebase\\'\\ngss=\\'git status -s\\'\\ngst=\\'git status\\'\\ngsta=\\'git stash save\\'\\ngstaa=\\'git stash apply\\'\\ngstc=\\'git stash clear\\'\\ngstd=\\'git stash drop\\'\\ngstl=\\'git stash list\\'\\ngstp=\\'git stash pop\\'\\ngsts=\\'git stash show --text\\'\\ngsu=\\'git submodule update\\'\\ngts=\\'git tag -s\\'\\ngtv=\\'git tag | sort -V\\'\\ngunignore=\\'git update-index --no-assume-unchanged\\'\\ngunwip=\\'git log -n 1 | grep -q -c \"\\\\-\\\\-wip\\\\-\\\\-\" && git reset HEAD~1\\'\\ngup=\\'git pull --rebase\\'\\ngupv=\\'git pull --rebase -v\\'\\ngwch=\\'git whatchanged -p --abbrev-commit --pretty=medium\\'\\ngwip=\\'git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m \"--wip-- [skip ci]\"\\'\\nhidefiles=\\'defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder\\'\\nhistory=\\'fc -l 1\\'\\nl=\\'ls -lah\\'\\nla=\\'ls -lAh\\'\\nll=\\'ls -lh\\'\\nls=\\'ls -G\\'\\nlsa=\\'ls -lah\\'\\nmd=\\'mkdir -p\\'\\nnpmD=\\'npm i -D \\'\\nnpmE=\\'PATH=\"$(npm bin)\":\"$PATH\"\\'\\nnpmL=\\'npm list\\'\\nnpmO=\\'npm outdated\\'\\nnpmS=\\'npm i -S \\'\\nnpmV=\\'npm -v\\'\\nnpmg=\\'npm i -g \\'\\nnpmst=\\'npm start\\'\\nnpmt=\\'npm test\\'\\nofd=\\'open_command $PWD\\'\\nplease=sudo\\npo=popd\\npu=pushd\\nrd=rmdir\\nrun-help=man\\nshowfiles=\\'defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder\\'\\nwhich-command=whence', 'XPC_SERVICE_NAME': '0', 'TF_ALIAS': 'fuck', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.Nql1W8HgzS/Listeners', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.yViIUOmQrc/Render', 'LC_ALL': 'C', 'ZDOTDIR': '', '_': '/usr/local/bin/thefuck', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'OLDPWD': 'LOCATION', 'GIT_TRACE': '1', '__CF_USER_TEXT_ENCODING': '0x7A90AEDC:0x0:0x0', 'PWD': 'LOCATION', 'PAGER': 'less'}; is slow:  took: 0:00:00.528797\r\nDEBUG: Importing rule: ag_literal; took: 0:00:00.002515\r\nDEBUG: Importing rule: apt_get; took: 0:00:00.004212\r\nDEBUG: Importing rule: apt_get_search; took: 0:00:00.001616\r\nDEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.002627\r\nDEBUG: Importing rule: aws_cli; took: 0:00:00.001478\r\nDEBUG: Importing rule: brew_install; took: 0:00:00.003260\r\nDEBUG: Importing rule: brew_link; took: 0:00:00.001465\r\nDEBUG: Importing rule: brew_uninstall; took: 0:00:00.001593\r\nDEBUG: Importing rule: brew_unknown_command; took: 0:00:00.001272\r\nDEBUG: Importing rule: brew_update_formula; took: 0:00:00.001643\r\nDEBUG: Importing rule: brew_upgrade; took: 0:00:00.001418\r\nDEBUG: Importing rule: cargo; took: 0:00:00.001820\r\nDEBUG: Importing rule: cargo_no_command; took: 0:00:00.001806\r\nDEBUG: Importing rule: cd_correction; took: 0:00:00.003462\r\nDEBUG: Importing rule: cd_mkdir; took: 0:00:00.000634\r\nDEBUG: Importing rule: cd_parent; took: 0:00:00.001153\r\nDEBUG: Importing rule: chmod_x; took: 0:00:00.001384\r\nDEBUG: Importing rule: composer_not_command; took: 0:00:00.001654\r\nDEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.001410\r\nDEBUG: Importing rule: cpp11; took: 0:00:00.001212\r\nDEBUG: Importing rule: dirty_untar; took: 0:00:00.014296\r\nDEBUG: Importing rule: dirty_unzip; took: 0:00:00.001727\r\nDEBUG: Importing rule: django_south_ghost; took: 0:00:00.002302\r\nDEBUG: Importing rule: django_south_merge; took: 0:00:00.001296\r\nDEBUG: Importing rule: docker_not_command; took: 0:00:00.001906\r\nDEBUG: Importing rule: dry; took: 0:00:00.001796\r\nDEBUG: Importing rule: fab_command_not_found; took: 0:00:00.001663\r\nDEBUG: Importing rule: fix_alt_space; took: 0:00:00.003096\r\nDEBUG: Importing rule: fix_file; took: 0:00:00.010775\r\nDEBUG: Importing rule: gem_unknown_command; took: 0:00:00.004358\r\nDEBUG: Importing rule: git_add; took: 0:00:00.005006\r\nDEBUG: Importing rule: git_add_force; took: 0:00:00.001625\r\nDEBUG: Importing rule: git_bisect_usage; took: 0:00:00.001918\r\nDEBUG: Importing rule: git_branch_delete; took: 0:00:00.001714\r\nDEBUG: Importing rule: git_branch_exists; took: 0:00:00.008008\r\nDEBUG: Importing rule: git_branch_list; took: 0:00:00.001520\r\nDEBUG: Importing rule: git_checkout; took: 0:00:00.001887\r\nDEBUG: Importing rule: git_diff_no_index; took: 0:00:00.001435\r\nDEBUG: Importing rule: git_diff_staged; took: 0:00:00.001962\r\nDEBUG: Importing rule: git_fix_stash; took: 0:00:00.002579\r\nDEBUG: Importing rule: git_flag_after_filename; took: 0:00:00.001757\r\nDEBUG: Importing rule: git_help_aliased; took: 0:00:00.001923\r\nDEBUG: Importing rule: git_not_command; took: 0:00:00.004090\r\nDEBUG: Importing rule: git_pull; took: 0:00:00.003134\r\nDEBUG: Importing rule: git_pull_clone; took: 0:00:00.002219\r\nDEBUG: Importing rule: git_pull_uncommitted_changes; took: 0:00:00.002513\r\nDEBUG: Importing rule: git_push; took: 0:00:00.002121\r\nDEBUG: Importing rule: git_push_force; took: 0:00:00.001398\r\nDEBUG: Importing rule: git_push_pull; took: 0:00:00.002029\r\nDEBUG: Importing rule: git_push_without_commits; took: 0:00:00.001497\r\nDEBUG: Importing rule: git_rebase_merge_dir; took: 0:00:00.001320\r\nDEBUG: Importing rule: git_rebase_no_changes; took: 0:00:00.001744\r\nDEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00.002446\r\nDEBUG: Importing rule: git_rm_local_modifications; took: 0:00:00.003647\r\nDEBUG: Importing rule: git_rm_recursive; took: 0:00:00.002058\r\nDEBUG: Importing rule: git_rm_staged; took: 0:00:00.002014\r\nDEBUG: Importing rule: git_stash; took: 0:00:00.001792\r\nDEBUG: Importing rule: git_stash_pop; took: 0:00:00.002067\r\nDEBUG: Importing rule: git_tag_force; took: 0:00:00.001378\r\nDEBUG: Importing rule: git_two_dashes; took: 0:00:00.001393\r\nDEBUG: Importing rule: go_run; took: 0:00:00.001693\r\nDEBUG: Importing rule: gradle_no_task; took: 0:00:00.001963\r\nDEBUG: Importing rule: gradle_wrapper; took: 0:00:00.003422\r\nDEBUG: Importing rule: grep_arguments_order; took: 0:00:00.003242\r\nDEBUG: Importing rule: grep_recursive; took: 0:00:00.001580\r\nDEBUG: Importing rule: grunt_task_not_found; took: 0:00:00.002372\r\nDEBUG: Importing rule: gulp_not_task; took: 0:00:00.002153\r\nDEBUG: Importing rule: has_exists_script; took: 0:00:00.002911\r\nDEBUG: Importing rule: heroku_not_command; took: 0:00:00.001825\r\nDEBUG: Importing rule: history; took: 0:00:00.001776\r\nDEBUG: Importing rule: hostscli; took: 0:00:00.004421\r\nDEBUG: Importing rule: ifconfig_device_not_found; took: 0:00:00.002220\r\nDEBUG: Importing rule: java; took: 0:00:00.001753\r\nDEBUG: Importing rule: javac; took: 0:00:00.001360\r\nDEBUG: Importing rule: lein_not_task; took: 0:00:00.001574\r\nDEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.001611\r\nDEBUG: Importing rule: ln_s_order; took: 0:00:00.001844\r\nDEBUG: Importing rule: ls_all; took: 0:00:00.001479\r\nDEBUG: Importing rule: ls_lah; took: 0:00:00.001745\r\nDEBUG: Importing rule: man; took: 0:00:00.001446\r\nDEBUG: Importing rule: man_no_space; took: 0:00:00.000970\r\nDEBUG: Importing rule: mercurial; took: 0:00:00.001867\r\nDEBUG: Importing rule: missing_space_before_subcommand; took: 0:00:00.001753\r\nDEBUG: Importing rule: mkdir_p; took: 0:00:00.001872\r\nDEBUG: Importing rule: mvn_no_command; took: 0:00:00.002275\r\nDEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00.002784\r\nDEBUG: Importing rule: no_command; took: 0:00:00.001932\r\nDEBUG: Importing rule: no_such_file; took: 0:00:00.003851\r\nDEBUG: Importing rule: npm_missing_script; took: 0:00:00.007992\r\nDEBUG: Importing rule: npm_run_script; took: 0:00:00.002823\r\nDEBUG: Importing rule: npm_wrong_command; took: 0:00:00.003423\r\nDEBUG: Importing rule: open; took: 0:00:00.002255\r\nDEBUG: Importing rule: pacman; took: 0:00:00.008235\r\nDEBUG: Importing rule: pacman_not_found; took: 0:00:00.001547\r\nDEBUG: Importing rule: path_from_history; took: 0:00:00.001905\r\nDEBUG: Importing rule: pip_unknown_command; took: 0:00:00.002393\r\nDEBUG: Importing rule: port_already_in_use; took: 0:00:00.002031\r\nDEBUG: Importing rule: python_command; took: 0:00:00.002213\r\nDEBUG: Importing rule: python_execute; took: 0:00:00.002147\r\nDEBUG: Importing rule: quotation_marks; took: 0:00:00.000992\r\nDEBUG: Importing rule: react_native_command_unrecognized; took: 0:00:00.002602\r\nDEBUG: Importing rule: remove_trailing_cedilla; took: 0:00:00.006922\r\nDEBUG: Importing rule: rm_dir; took: 0:00:00.006786\r\nDEBUG: Importing rule: rm_root; took: 0:00:00.003991\r\nDEBUG: Importing rule: scm_correction; took: 0:00:00.001605\r\nDEBUG: Importing rule: sed_unterminated_s; took: 0:00:00.001317\r\nDEBUG: Importing rule: sl_ls; took: 0:00:00.002318\r\nDEBUG: Importing rule: ssh_known_hosts; took: 0:00:00.005986\r\nDEBUG: Importing rule: sudo; took: 0:00:00.001218\r\nDEBUG: Importing rule: sudo_command_from_user_path; took: 0:00:00.001470\r\nDEBUG: Importing rule: switch_lang; took: 0:00:00.002983\r\nDEBUG: Importing rule: systemctl; took: 0:00:00.002115\r\nDEBUG: Importing rule: test.py; took: 0:00:00.001171\r\nDEBUG: Importing rule: tmux; took: 0:00:00.002266\r\nDEBUG: Importing rule: touch; took: 0:00:00.002940\r\nDEBUG: Importing rule: tsuru_login; took: 0:00:00.001570\r\nDEBUG: Importing rule: tsuru_not_command; took: 0:00:00.001530\r\nDEBUG: Importing rule: unknown_command; took: 0:00:00.002020\r\nDEBUG: Importing rule: vagrant_up; took: 0:00:00.002351\r\nDEBUG: Importing rule: whois; took: 0:00:00.002825\r\nDEBUG: Importing rule: workon_doesnt_exists; took: 0:00:00.007952\r\nDEBUG: Importing rule: yarn_alias; took: 0:00:00.002404\r\nDEBUG: Importing rule: yarn_command_not_found; took: 0:00:00.002193\r\nDEBUG: Importing rule: yarn_command_replaced; took: 0:00:00.001809\r\nDEBUG: Importing rule: yarn_help; took: 0:00:00.004099\r\nDEBUG: Trying rule: path_from_history; took: 0:00:00.006211\r\nDEBUG: Trying rule: dry; took: 0:00:00.000241\r\nDEBUG: Trying rule: git_stash_pop; took: 0:00:00.000391\r\nDEBUG: Trying rule: test.py; took: 0:00:00.000005\r\nDEBUG: Trying rule: ag_literal; took: 0:00:00.000176\r\nDEBUG: Trying rule: aws_cli; took: 0:00:00.000160\r\nDEBUG: Trying rule: brew_install; took: 0:00:00.000006\r\nDEBUG: Trying rule: brew_link; took: 0:00:00.000152\r\nDEBUG: Trying rule: brew_uninstall; took: 0:00:00.000129\r\nDEBUG: Trying rule: brew_unknown_command; took: 0:00:00.000004\r\nDEBUG: Trying rule: brew_update_formula; took: 0:00:00.000156\r\nDEBUG: Trying rule: brew_upgrade; took: 0:00:00.000004\r\nDEBUG: Trying rule: cargo; took: 0:00:00.000003\r\nDEBUG: Trying rule: cargo_no_command; took: 0:00:00.000148\r\nDEBUG: Trying rule: cd_correction; took: 0:00:00.000114\r\nDEBUG: Trying rule: cd_mkdir; took: 0:00:00.000360\r\nDEBUG: Trying rule: cd_parent; took: 0:00:00.000014\r\nDEBUG: Trying rule: chmod_x; took: 0:00:00.000012\r\nDEBUG: Trying rule: composer_not_command; took: 0:00:00.000220\r\nDEBUG: Trying rule: cp_omitting_directory; took: 0:00:00.000298\r\nDEBUG: Trying rule: cpp11; took: 0:00:00.000167\r\nDEBUG: Trying rule: dirty_untar; took: 0:00:00.000153\r\nDEBUG: Trying rule: dirty_unzip; took: 0:00:00.000185\r\nDEBUG: Trying rule: django_south_ghost; took: 0:00:00.000004\r\nDEBUG: Trying rule: django_south_merge; took: 0:00:00.000108\r\nDEBUG: Trying rule: docker_not_command; took: 0:00:00.000175\r\nDEBUG: Trying rule: fab_command_not_found; took: 0:00:00.000116\r\nDEBUG: Trying rule: fix_alt_space; took: 0:00:00.000007\r\nDEBUG: Trying rule: fix_file; took: 0:00:00.000012\r\nDEBUG: Trying rule: gem_unknown_command; took: 0:00:00.000119\r\nDEBUG: Trying rule: git_add; took: 0:00:00.000114\r\nDEBUG: Trying rule: git_add_force; took: 0:00:00.000112\r\nDEBUG: Trying rule: git_bisect_usage; took: 0:00:00.000197\r\nDEBUG: Trying rule: git_branch_delete; took: 0:00:00.000227\r\nDEBUG: Trying rule: git_branch_exists; took: 0:00:00.000161\r\nDEBUG: Trying rule: git_branch_list; took: 0:00:00.000142\r\nDEBUG: Trying rule: git_checkout; took: 0:00:00.000144\r\nDEBUG: Trying rule: git_diff_no_index; took: 0:00:00.000329\r\nDEBUG: Trying rule: git_diff_staged; took: 0:00:00.000179\r\nDEBUG: Trying rule: git_fix_stash; took: 0:00:00.000170\r\nDEBUG: Trying rule: git_flag_after_filename; took: 0:00:00.000227\r\nDEBUG: Trying rule: git_help_aliased; took: 0:00:00.000355\r\nDEBUG: Trying rule: git_not_command; took: 0:00:00.000203\r\nDEBUG: Trying rule: git_pull; took: 0:00:00.000132\r\nDEBUG: Trying rule: git_pull_clone; took: 0:00:00.000210\r\nDEBUG: Trying rule: git_pull_uncommitted_changes; took: 0:00:00.000119\r\nDEBUG: Trying rule: git_push; took: 0:00:00.000110\r\nDEBUG: Trying rule: git_push_pull; took: 0:00:00.000109\r\nDEBUG: Trying rule: git_push_without_commits; took: 0:00:00.000109\r\nDEBUG: Trying rule: git_rebase_merge_dir; took: 0:00:00.000108\r\nDEBUG: Trying rule: git_rebase_no_changes; took: 0:00:00.000116\r\nDEBUG: Trying rule: git_remote_seturl_add; took: 0:00:00.000108\r\nDEBUG: Trying rule: git_rm_local_modifications; took: 0:00:00.000110\r\nDEBUG: Trying rule: git_rm_recursive; took: 0:00:00.000108\r\nDEBUG: Trying rule: git_rm_staged; took: 0:00:00.000109\r\nDEBUG: Trying rule: git_stash; took: 0:00:00.000108\r\nDEBUG: Trying rule: git_tag_force; took: 0:00:00.000107\r\nDEBUG: Trying rule: git_two_dashes; took: 0:00:00.000108\r\nDEBUG: Trying rule: go_run; took: 0:00:00.000545\r\nDEBUG: Trying rule: gradle_no_task; took: 0:00:00.000206\r\nDEBUG: Trying rule: gradle_wrapper; took: 0:00:00.000117\r\nDEBUG: Trying rule: grep_arguments_order; took: 0:00:00.000114\r\nDEBUG: Trying rule: grep_recursive; took: 0:00:00.000109\r\nDEBUG: Trying rule: grunt_task_not_found; took: 0:00:00.000109\r\nDEBUG: Trying rule: gulp_not_task; took: 0:00:00.000108\r\nDEBUG: Trying rule: has_exists_script; took: 0:00:00.000029\r\nDEBUG: Trying rule: heroku_not_command; took: 0:00:00.000115\r\nDEBUG: Trying rule: hostscli; took: 0:00:00.000116\r\nDEBUG: Trying rule: ifconfig_device_not_found; took: 0:00:00.000108\r\nDEBUG: Trying rule: java; took: 0:00:00.000117\r\nDEBUG: Trying rule: javac; took: 0:00:00.000106\r\nDEBUG: Trying rule: lein_not_task; took: 0:00:00.000115\r\nDEBUG: Trying rule: ln_no_hard_link; took: 0:00:00.000005\r\nDEBUG: Trying rule: ln_s_order; took: 0:00:00.000004\r\nDEBUG: Trying rule: ls_all; took: 0:00:00.000336\r\nDEBUG: Trying rule: ls_lah; took: 0:00:00.000123\r\nDEBUG: Trying rule: man; took: 0:00:00.000343\r\nDEBUG: Trying rule: mercurial; took: 0:00:00.000192\r\nDEBUG: Trying rule: missing_space_before_subcommand; took: 0:00:00.043395\r\nDEBUG: Trying rule: mkdir_p; took: 0:00:00.000015\r\nDEBUG: Trying rule: mvn_no_command; took: 0:00:00.000180\r\nDEBUG: Trying rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000157\r\nDEBUG: Trying rule: no_such_file; took: 0:00:00.001709\r\nDEBUG: Trying rule: npm_missing_script; took: 0:00:00.000568\r\nDEBUG: Trying rule: npm_run_script; took: 0:00:00.000143\r\nDEBUG: Trying rule: npm_wrong_command; took: 0:00:00.000117\r\nDEBUG: Trying rule: open; took: 0:00:00.000138\r\nDEBUG: Trying rule: pip_unknown_command; took: 0:00:00.000125\r\nDEBUG: Trying rule: port_already_in_use; took: 0:00:00.000771\r\nDEBUG: Trying rule: python_command; took: 0:00:00.000008\r\nDEBUG: Trying rule: python_execute; took: 0:00:00.000128\r\nDEBUG: Trying rule: quotation_marks; took: 0:00:00.000004\r\nDEBUG: Trying rule: react_native_command_unrecognized; took: 0:00:00.000114\r\nDEBUG: Trying rule: remove_trailing_cedilla; took: 0:00:00.000004\r\nDEBUG: Trying rule: rm_dir; took: 0:00:00.000005\r\nDEBUG: Trying rule: scm_correction; took: 0:00:00.000161\r\nDEBUG: Trying rule: sed_unterminated_s; took: 0:00:00.000116\r\nDEBUG: Trying rule: sl_ls; took: 0:00:00.000004\r\nDEBUG: Trying rule: ssh_known_hosts; took: 0:00:00.000114\r\nDEBUG: Trying rule: sudo; took: 0:00:00.000028\r\nDEBUG: Trying rule: sudo_command_from_user_path; took: 0:00:00.000110\r\nDEBUG: Trying rule: switch_lang; took: 0:00:00.000118\r\nDEBUG: Trying rule: systemctl; took: 0:00:00.000112\r\nDEBUG: Trying rule: tmux; took: 0:00:00.000108\r\nDEBUG: Trying rule: touch; took: 0:00:00.000217\r\nDEBUG: Trying rule: tsuru_login; took: 0:00:00.000160\r\nDEBUG: Trying rule: tsuru_not_command; took: 0:00:00.000171\r\nDEBUG: Trying rule: unknown_command; took: 0:00:00.000430\r\nDEBUG: Trying rule: vagrant_up; took: 0:00:00.000247\r\nDEBUG: Trying rule: whois; took: 0:00:00.000218\r\nDEBUG: Trying rule: workon_doesnt_exists; took: 0:00:00.000128\r\nDEBUG: Trying rule: yarn_alias; took: 0:00:00.000150\r\nDEBUG: Trying rule: yarn_command_not_found; took: 0:00:00.000145\r\nyarn remove lodash [enter/↑/↓/ctrl+c]DEBUG: Trying rule: yarn_command_replaced; took: 0:00:00.000533\r\nDEBUG: Trying rule: yarn_help; took: 0:00:00.000280\r\nDEBUG: Trying rule: man_no_space; took: 0:00:00.000014\r\nDEBUG: Trying rule: no_command; took: 0:00:00.000276\r\nDEBUG: Trying rule: history; took: 0:00:00.049208\r\nDEBUG: Corrected commands: \r\nyarn run lodash [enter/↑/↓/ctrl+c]     \r\n```"},"comment":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/comments/301347300","html_url":"https://github.com/nvbn/thefuck/issues/637#issuecomment-301347300","issue_url":"https://api.github.com/repos/nvbn/thefuck/issues/637","id":301347300,"user":{"login":"fluxsauce","id":976391,"avatar_url":"https://avatars1.githubusercontent.com/u/976391?v=3","gravatar_id":"","url":"https://api.github.com/users/fluxsauce","html_url":"https://github.com/fluxsauce","followers_url":"https://api.github.com/users/fluxsauce/followers","following_url":"https://api.github.com/users/fluxsauce/following{/other_user}","gists_url":"https://api.github.com/users/fluxsauce/gists{/gist_id}","starred_url":"https://api.github.com/users/fluxsauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluxsauce/subscriptions","organizations_url":"https://api.github.com/users/fluxsauce/orgs","repos_url":"https://api.github.com/users/fluxsauce/repos","events_url":"https://api.github.com/users/fluxsauce/events{/privacy}","received_events_url":"https://api.github.com/users/fluxsauce/received_events","type":"User","site_admin":false},"created_at":"2017-05-14T23:27:16Z","updated_at":"2017-05-14T23:27:16Z","body":"```\r\njon@Decker ~/projects/SUPERSECRET (master) $ yarn require lodash\r\nyarn require v0.23.3\r\nerror Command \"require\" not found.\r\njon@Decker ~/projects/SUPERSECRET (master) $ fuck\r\nyarn add lodash [enter/↑/↓/ctrl+c]\r\n```\r\n\r\n💯 \r\n\r\nmuch appreciated!"}}
{"actor":{"display_login":"fluxsauce"}}