Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"git brnch" (from README) gives no fucks #671

Closed
Nightfirecat opened this issue Jul 28, 2017 · 4 comments
Closed

"git brnch" (from README) gives no fucks #671

Nightfirecat opened this issue Jul 28, 2017 · 4 comments

Comments

@Nightfirecat
Copy link

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

The most similar command is
        branch

$ fuck
No fucks given

This is on Windows Git Bash (bash 4.4). thefuck --version, THEFUCK_DEBUG=true thefuck git brnch, type fuck, and echo $TF_OVERRIDDEN_ALIASES are below.

$ thefuck --version
The Fuck 3.18 using Python 2.7.13

$ THEFUCK_DEBUG=true thefuck git brnch
DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'history_limit': None,
 'no_colors': False,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': WindowsPath('C:/Users/Nightfirecat/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}
DEBUG: Received stdout:
DEBUG: Received stderr: 20:16:05.443906 git.c:547               trace: exec: 'git-brnch'
20:16:05.444906 run-command.c:626       trace: run_command: 'git-brnch'
git: 'brnch' is not a git command. See 'git --help'.

The most similar command is
        branch

DEBUG: Call: git brnch; with env: {'VS100COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools\\', 'COLOR_YELLOW': '\\e[0;33m', 'MSYSTEM_CHOST': 'x86_64-w64-mingw32', 'SYSTEMROOT': 'C:\\Windows', 'WINDOWS_TRACING_FLAGS': '3', 'INFOPATH': 'C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info', 'SHELL': 'C:\\Program Files\\Git\\usr\\bin\\bash.exe', 'COLOR_ON_CYAN': '\\e[46m', 'COLOR_CYAN': '\\e[0;36m', 'COLOR_ON_GREEN': '\\e[42m', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'COLOR_ON_BLUE': '\\e[44m', 'COLOR_BGREEN': '\\e[1;32m', 'MSYSTEM_CARCH': 'x86_64', 'CONFIG_SITE': 'C:/Program Files/Git/mingw64/etc/config.site', 'HOMEDRIVE': 'C:', 'SYSTEMDRIVE': 'C:', 'HOSTNAME': 'Jacques', 'PROCESSOR_LEVEL': '6', 'COLOR_ON_BLACK': '\\e[40m', 'OS': 'Windows_NT', 'SSH_ASKPASS': 'C:/Program Files/Git/mingw64/libexec/git-core/git-gui--askpass', 'GIT_TRACE': '1', 'COLOR_BPURPLE': '\\e[1;35m', 'PS1': '\\[\\033]0;$TITLEPREFIX:${PWD//[^[:ascii:]]/?}\\007\\]\\n\\[\\033[32m\\]\\u@\\h \\[\\033[35m\\]$MSYSTEM \\[\\033[33m\\]\\w\\[\\033[36m\\]`__git_ps1`\\[\\033[0m\\]\\n$ ', 'THEFUCK_DEBUG': 'true', 'TEMP': 'C:\\Users\\NIGHTF~1\\AppData\\Local\\Temp', 'SHLVL': '1', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'ORIGINAL_TEMP': 'C:/Users/NIGHTF~1/AppData/Local/Temp', 'HOMEPATH': '\\Users\\Nightfirecat', 'TF_SHELL_ALIASES': 'alias aliases=\'alias -p\'\nalias chgrp=\'chgrp --preserve-root\'\nalias chmod=\'chmod --preserve-root\'\nalias chown=\'chown --preserve-root\'\nalias cp=\'cp -i\'\nalias df=\'df -Th\'\nalias egrep=\'egrep --color=auto\'\nalias fgrep=\'fgrep --color=auto\'\nalias grep=\'grep --color=auto\'\nalias h=\'history\'\nalias headers=\'curl -I\'\nalias headersc=\'curl -I --compress\'\nalias j=\'jobs -l\'\nalias la=\'ll -A\'\nalias lc=\'ls -ltcr\'\nalias less=\'less -R\'\nalias lk=\'ls -lSr\'\nalias ll=\'ls -lv --group-directories-first\'\nalias lm=\'ll | more\'\nalias ln=\'ln -i\'\nalias lr=\'ll -R\'\nalias ls=\'ls -h --color --show-control-chars\'\nalias lt=\'ls -ltr\'\nalias lu=\'ls -ltur\'\nalias lx=\'ls -lXB\'\nalias mkdir=\'mkdir -pv\'\nalias more=\'less\'\nalias mount=\'mount | column -t\'\nalias mv=\'mv -i\'\nalias node=\'winpty node.exe\'\nalias now=\'date +"%T"\'\nalias nowdate=\'date +"%d-%m-%y"\'\nalias nowtime=\'now\'\nalias path=\'echo ${PATH//:/\\\\n}\'\nalias pip=\'/d/python2*/Scripts/pip.exe\'\nalias pip3=\'/d/python3*/Scripts/pip.exe\'\nalias python=\'/d/python2*/python.exe\'\nalias python3=\'/d/python3*/python.exe\'\nalias rm=\'rm -I --preserve-root\'\nalias sha1=\'openssl sha1\'\nalias shellcheck=\'shellcheck --color\'\nalias tree=\'tree -Csuh\'\nalias vi=\'vim\'\nalias which=\'type -a\'\nalias xdg-open=\'python -m webbrowser\'', 'LOGONSERVER': '\\\\JACQUES', 'COLOR_BBLACK': '\\e[1;30m', 'SESSIONNAME': 'Console', 'PKG_CONFIG_PATH': 'C:\\Program Files\\Git\\mingw64\\lib\\pkgconfig;C:\\Program Files\\Git\\mingw64\\share\\pkgconfig', 'COLOR_NC': '\\e[m', 'MSYSTEM_PREFIX': 'C:/Program Files/Git/mingw64', 'TMPDIR': 'C:\\Users\\NIGHTF~1\\AppData\\Local\\Temp', 'APPDATA': 'C:\\Users\\Nightfirecat\\AppData\\Roaming', 'COLOR_WHITE': '\\e[0;37m', 'COLOR_BRED': '\\e[1;31m', 'USERPROFILE': 'C:\\Users\\Nightfirecat', 'COLOR_ON_PURPLE': '\\e[45m', 'TMP': 'C:\\Users\\NIGHTF~1\\AppData\\Local\\Temp', 'COMPUTERNAME': 'JACQUES', 'USERDOMAIN': 'Jacques', 'COLOR_RED': '\\e[0;31m', 'ORIGINAL_TMP': 'C:/Users/NIGHTF~1/AppData/Local/Temp', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'COLOR_ON_WHITE': '\\e[47m', 'HOME': 'C:\\Users\\Nightfirecat', 'DISPLAY': 'needs-to-be-defined', 'LANG': 'C', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'PROCESSOR_ARCHITECTURE': 'x86', 'PLINK_PROTOCOL': 'ssh', 'COLOR_BLACK': '\\e[0;30m', '_': 'D:/Python27/Scripts/thefuck', 'COLOR_PURPLE': '\\e[0;35m', 'PROGRAMW6432': 'C:\\Program Files', 'USERNAME': 'Nightfirecat', 'MINGW_CHOST': 'x86_64-w64-mingw32', 'COLOR_BCYAN': '\\e[1;36m', 'MANPATH': 'C:\\Program Files\\Git\\mingw64\\share\\man;C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man', 'TF_ALIAS': 'fuck', 'COLOR_ON_YELLOW': '\\e[43m', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'WINDIR': 'C:\\Windows', 'COLOR_ALERT': '\\e[1;37m\\e[41m', 'NUMBER_OF_PROCESSORS': '8', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PUBLIC': 'C:\\Users\\Public', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PYTHONIOENCODING': 'utf-8', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'ORIGINAL_PATH': 'C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\Nightfirecat\\bin;C:\\Program Files\\Haskell\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\lib\\extralibs\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Microsoft Windows Performance Toolkit;C:\\Program Files (x86)\\CMake 2.8\\bin;D:\\Program Files (x86)\\WinSCP;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Users\\Nightfirecat\\bin\\git;D:\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\mingw\\bin;D:\\Program Files (x86)\\QuickTime\\QTSystem;D:\\Program Files\\nodejs;C:\\Users\\Nightfirecat\\AppData\\Roaming\\cabal\\bin;C:\\Users\\Nightfirecat\\AppData\\Roaming\\local\\bin;C:\\Users\\Nightfirecat\\AppData\\Roaming\\npm;C:\\Users\\Nightfirecat\\AppData\\Roaming\\npm\\node_modules', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel', 'ACLOCAL_PATH': 'C:\\Program Files\\Git\\mingw64\\share\\aclocal;C:\\Program Files\\Git\\usr\\share\\aclocal', 'PROCESSOR_REVISION': '3c03', 'COLOR_BBLUE': '\\e[1;34m', 'PATH': 'C:\\Users\\Nightfirecat\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\Nightfirecat\\bin;C:\\Program Files\\Haskell\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\lib\\extralibs\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Microsoft Windows Performance Toolkit;C:\\Program Files (x86)\\CMake 2.8\\bin;D:\\Program Files (x86)\\WinSCP;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Users\\Nightfirecat\\bin\\git;D:\\bin;D:\\Program Files\\Haskell Platform\\8.0.1\\mingw\\bin;D:\\Program Files (x86)\\QuickTime\\QTSystem;D:\\Program Files\\nodejs;C:\\Users\\Nightfirecat\\AppData\\Roaming\\cabal\\bin;C:\\Users\\Nightfirecat\\AppData\\Roaming\\local\\bin;C:\\Users\\Nightfirecat\\AppData\\Roaming\\npm;C:\\Users\\Nightfirecat\\AppData\\Roaming\\npm\\node_modules;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl;D:\\Python27\\Scripts;D:\\Python27\\Scripts', 'EXEPATH': 'C:\\Program Files\\Git', 'MINGW_PACKAGE_PREFIX': 'mingw-w64-x86_64', 'COLOR_BWHITE': '\\e[1;37m', 'TERM': 'xterm', 'WINDOWS_TRACING_LOGFILE': 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'LOCALAPPDATA': 'C:\\Users\\Nightfirecat\\AppData\\Local', 'COLOR_GREEN': '\\e[0;32m', 'MSYSTEM': 'MINGW64', 'PROGRAMDATA': 'C:\\ProgramData', 'SSH_AUTH_SOCK': 'C:/Users/Nightfirecat/.ssh/ssh_auth_sock', 'COLOR_ON_RED': '\\e[41m', 'LC_ALL': 'C', 'FP_NO_HOST_CHECK': 'NO', 'COLOR_BLUE': '\\e[0;34m', 'OLDPWD': 'C:/Program Files/Git/', 'COLOR_BYELLOW': '\\e[1;33m', 'NODE_PATH': 'C:/Users/Nightfirecat/Appdata/Roaming/npm/node_modules', 'PWD': 'C:/Users/Nightfirecat', 'MINGW_PREFIX': 'C:/Program Files/Git/mingw64', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files'}; is slow:  took: 0:00:00.086000
DEBUG: Importing rule: ag_literal; took: 0:00:00
DEBUG: Importing rule: apt_get; took: 0:00:00.002000
DEBUG: Importing rule: apt_get_search; took: 0:00:00.001000
DEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.001000
DEBUG: Importing rule: aws_cli; took: 0:00:00
DEBUG: Importing rule: brew_install; took: 0:00:00.001000
DEBUG: Importing rule: brew_link; took: 0:00:00.001000
DEBUG: Importing rule: brew_uninstall; took: 0:00:00
DEBUG: Importing rule: brew_unknown_command; took: 0:00:00
DEBUG: Importing rule: brew_update_formula; took: 0:00:00.001000
DEBUG: Importing rule: brew_upgrade; took: 0:00:00
DEBUG: Importing rule: cargo; took: 0:00:00
DEBUG: Importing rule: cargo_no_command; took: 0:00:00
DEBUG: Importing rule: cd_correction; took: 0:00:00.001000
DEBUG: Importing rule: cd_mkdir; took: 0:00:00
DEBUG: Importing rule: cd_parent; took: 0:00:00.001000
DEBUG: Importing rule: chmod_x; took: 0:00:00
DEBUG: Importing rule: composer_not_command; took: 0:00:00
DEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.001000
DEBUG: Importing rule: cpp11; took: 0:00:00
DEBUG: Importing rule: dirty_untar; took: 0:00:00.002000
DEBUG: Importing rule: dirty_unzip; took: 0:00:00
DEBUG: Importing rule: django_south_ghost; took: 0:00:00
DEBUG: Importing rule: django_south_merge; took: 0:00:00.001000
DEBUG: Importing rule: docker_not_command; took: 0:00:00
DEBUG: Importing rule: dry; took: 0:00:00
DEBUG: Importing rule: fab_command_not_found; took: 0:00:00.001000
DEBUG: Importing rule: fix_alt_space; took: 0:00:00
DEBUG: Importing rule: fix_file; took: 0:00:00.003000
DEBUG: Importing rule: gem_unknown_command; took: 0:00:00
DEBUG: Importing rule: git_add; took: 0:00:00.001000
DEBUG: Importing rule: git_add_force; took: 0:00:00.001000
DEBUG: Importing rule: git_bisect_usage; took: 0:00:00
DEBUG: Importing rule: git_branch_delete; took: 0:00:00.001000
DEBUG: Importing rule: git_branch_exists; took: 0:00:00
DEBUG: Importing rule: git_branch_list; took: 0:00:00.001000
DEBUG: Importing rule: git_checkout; took: 0:00:00
DEBUG: Importing rule: git_diff_no_index; took: 0:00:00
DEBUG: Importing rule: git_diff_staged; took: 0:00:00.001000
DEBUG: Importing rule: git_fix_stash; took: 0:00:00
DEBUG: Importing rule: git_flag_after_filename; took: 0:00:00.001000
DEBUG: Importing rule: git_help_aliased; took: 0:00:00
DEBUG: Importing rule: git_not_command; took: 0:00:00
DEBUG: Importing rule: git_pull; took: 0:00:00.001000
DEBUG: Importing rule: git_pull_clone; took: 0:00:00
DEBUG: Importing rule: git_pull_uncommitted_changes; took: 0:00:00.001000
DEBUG: Importing rule: git_push; took: 0:00:00
DEBUG: Importing rule: git_push_force; took: 0:00:00
DEBUG: Importing rule: git_push_pull; took: 0:00:00.001000
DEBUG: Importing rule: git_push_without_commits; took: 0:00:00
DEBUG: Importing rule: git_rebase_merge_dir; took: 0:00:00.001000
DEBUG: Importing rule: git_rebase_no_changes; took: 0:00:00
DEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00
DEBUG: Importing rule: git_rm_local_modifications; took: 0:00:00.001000
DEBUG: Importing rule: git_rm_recursive; took: 0:00:00
DEBUG: Importing rule: git_rm_staged; took: 0:00:00
DEBUG: Importing rule: git_stash; took: 0:00:00.001000
DEBUG: Importing rule: git_stash_pop; took: 0:00:00
DEBUG: Importing rule: git_tag_force; took: 0:00:00
DEBUG: Importing rule: git_two_dashes; took: 0:00:00.001000
DEBUG: Importing rule: go_run; took: 0:00:00
DEBUG: Importing rule: gradle_no_task; took: 0:00:00.001000
DEBUG: Importing rule: gradle_wrapper; took: 0:00:00
DEBUG: Importing rule: grep_arguments_order; took: 0:00:00
DEBUG: Importing rule: grep_recursive; took: 0:00:00
DEBUG: Importing rule: grunt_task_not_found; took: 0:00:00.001000
DEBUG: Importing rule: gulp_not_task; took: 0:00:00
DEBUG: Importing rule: has_exists_script; took: 0:00:00.001000
DEBUG: Importing rule: heroku_not_command; took: 0:00:00
DEBUG: Importing rule: history; took: 0:00:00
DEBUG: Importing rule: hostscli; took: 0:00:00.001000
DEBUG: Importing rule: ifconfig_device_not_found; took: 0:00:00
DEBUG: Importing rule: java; took: 0:00:00
DEBUG: Importing rule: javac; took: 0:00:00.001000
DEBUG: Importing rule: lein_not_task; took: 0:00:00
DEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.001000
DEBUG: Importing rule: ln_s_order; took: 0:00:00
DEBUG: Importing rule: ls_all; took: 0:00:00
DEBUG: Importing rule: ls_lah; took: 0:00:00.001000
DEBUG: Importing rule: man; took: 0:00:00
DEBUG: Importing rule: man_no_space; took: 0:00:00
DEBUG: Importing rule: mercurial; took: 0:00:00.001000
DEBUG: Importing rule: missing_space_before_subcommand; took: 0:00:00
DEBUG: Importing rule: mkdir_p; took: 0:00:00
DEBUG: Importing rule: mvn_no_command; took: 0:00:00.002000
DEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00
DEBUG: Importing rule: no_command; took: 0:00:00
DEBUG: Importing rule: no_such_file; took: 0:00:00
DEBUG: Importing rule: npm_missing_script; took: 0:00:00.001000
DEBUG: Importing rule: npm_run_script; took: 0:00:00
DEBUG: Importing rule: npm_wrong_command; took: 0:00:00.001000
DEBUG: Importing rule: open; took: 0:00:00
DEBUG: Importing rule: pacman; took: 0:00:00.002000
DEBUG: Importing rule: pacman_not_found; took: 0:00:00
DEBUG: Importing rule: path_from_history; took: 0:00:00.001000
DEBUG: Importing rule: pip_unknown_command; took: 0:00:00
DEBUG: Importing rule: port_already_in_use; took: 0:00:00.001000
DEBUG: Importing rule: python_command; took: 0:00:00.001000
DEBUG: Importing rule: python_execute; took: 0:00:00
DEBUG: Importing rule: quotation_marks; took: 0:00:00
DEBUG: Importing rule: react_native_command_unrecognized; took: 0:00:00.001000
DEBUG: Importing rule: remove_trailing_cedilla; took: 0:00:00
DEBUG: Importing rule: rm_dir; took: 0:00:00
DEBUG: Importing rule: rm_root; took: 0:00:00.001000
DEBUG: Importing rule: scm_correction; took: 0:00:00
DEBUG: Importing rule: sed_unterminated_s; took: 0:00:00
DEBUG: Importing rule: sl_ls; took: 0:00:00.001000
DEBUG: Importing rule: ssh_known_hosts; took: 0:00:00
DEBUG: Importing rule: sudo; took: 0:00:00
DEBUG: Importing rule: sudo_command_from_user_path; took: 0:00:00.001000
DEBUG: Importing rule: switch_lang; took: 0:00:00
DEBUG: Importing rule: systemctl; took: 0:00:00
DEBUG: Importing rule: test.py; took: 0:00:00.001000
DEBUG: Importing rule: tmux; took: 0:00:00
DEBUG: Importing rule: touch; took: 0:00:00
DEBUG: Importing rule: tsuru_login; took: 0:00:00.001000
DEBUG: Importing rule: tsuru_not_command; took: 0:00:00
DEBUG: Importing rule: unknown_command; took: 0:00:00
DEBUG: Importing rule: vagrant_up; took: 0:00:00.001000
DEBUG: Importing rule: whois; took: 0:00:00
DEBUG: Importing rule: workon_doesnt_exists; took: 0:00:00.001000
DEBUG: Importing rule: yarn_alias; took: 0:00:00
DEBUG: Importing rule: yarn_command_not_found; took: 0:00:00.001000
DEBUG: Importing rule: yarn_command_replaced; took: 0:00:00
DEBUG: Importing rule: yarn_help; took: 0:00:00
DEBUG: Trying rule: path_from_history; took: 0:00:00
DEBUG: Trying rule: dry; took: 0:00:00.001000
DEBUG: Trying rule: git_stash_pop; took: 0:00:00
DEBUG: Trying rule: test.py; took: 0:00:00
DEBUG: Trying rule: ag_literal; took: 0:00:00
DEBUG: Trying rule: aws_cli; took: 0:00:00
DEBUG: Trying rule: brew_link; took: 0:00:00
DEBUG: Trying rule: brew_uninstall; took: 0:00:00
DEBUG: Trying rule: brew_update_formula; took: 0:00:00
DEBUG: Trying rule: cargo; took: 0:00:00
DEBUG: Trying rule: cargo_no_command; took: 0:00:00
DEBUG: Trying rule: cd_correction; took: 0:00:00
DEBUG: Trying rule: cd_mkdir; took: 0:00:00
DEBUG: Trying rule: cd_parent; took: 0:00:00
DEBUG: Trying rule: chmod_x; took: 0:00:00
DEBUG: Trying rule: composer_not_command; took: 0:00:00
DEBUG: Trying rule: cp_omitting_directory; took: 0:00:00
DEBUG: Trying rule: cpp11; took: 0:00:00
DEBUG: Trying rule: dirty_untar; took: 0:00:00
DEBUG: Trying rule: dirty_unzip; took: 0:00:00
DEBUG: Trying rule: django_south_ghost; took: 0:00:00
DEBUG: Trying rule: django_south_merge; took: 0:00:00
DEBUG: Trying rule: docker_not_command; took: 0:00:00
DEBUG: Trying rule: fab_command_not_found; took: 0:00:00
DEBUG: Trying rule: fix_alt_space; took: 0:00:00
DEBUG: Trying rule: fix_file; took: 0:00:00
DEBUG: Trying rule: gem_unknown_command; took: 0:00:00
DEBUG: Trying rule: git_add; took: 0:00:00
DEBUG: Trying rule: git_add_force; took: 0:00:00
DEBUG: Trying rule: git_bisect_usage; took: 0:00:00
DEBUG: Trying rule: git_branch_delete; took: 0:00:00
DEBUG: Trying rule: git_branch_exists; took: 0:00:00
DEBUG: Trying rule: git_branch_list; took: 0:00:00
DEBUG: Trying rule: git_checkout; took: 0:00:00
DEBUG: Trying rule: git_diff_no_index; took: 0:00:00
DEBUG: Trying rule: git_diff_staged; took: 0:00:00
DEBUG: Trying rule: git_fix_stash; took: 0:00:00
DEBUG: Trying rule: git_flag_after_filename; took: 0:00:00
DEBUG: Trying rule: git_help_aliased; took: 0:00:00
DEBUG: Trying rule: git_not_command; took: 0:00:00
DEBUG: Trying rule: git_pull; took: 0:00:00
DEBUG: Trying rule: git_pull_clone; took: 0:00:00
DEBUG: Trying rule: git_pull_uncommitted_changes; took: 0:00:00
DEBUG: Trying rule: git_push; took: 0:00:00.001000
DEBUG: Trying rule: git_push_pull; took: 0:00:00
DEBUG: Trying rule: git_push_without_commits; took: 0:00:00
DEBUG: Trying rule: git_rebase_merge_dir; took: 0:00:00
DEBUG: Trying rule: git_rebase_no_changes; took: 0:00:00
DEBUG: Trying rule: git_remote_seturl_add; took: 0:00:00
DEBUG: Trying rule: git_rm_local_modifications; took: 0:00:00
DEBUG: Trying rule: git_rm_recursive; took: 0:00:00
DEBUG: Trying rule: git_rm_staged; took: 0:00:00
DEBUG: Trying rule: git_stash; took: 0:00:00
DEBUG: Trying rule: git_tag_force; took: 0:00:00
DEBUG: Trying rule: git_two_dashes; took: 0:00:00
DEBUG: Trying rule: go_run; took: 0:00:00
DEBUG: Trying rule: gradle_no_task; took: 0:00:00
DEBUG: Trying rule: gradle_wrapper; took: 0:00:00
DEBUG: Trying rule: grep_arguments_order; took: 0:00:00
DEBUG: Trying rule: grep_recursive; took: 0:00:00
DEBUG: Trying rule: grunt_task_not_found; took: 0:00:00
DEBUG: Trying rule: gulp_not_task; took: 0:00:00
DEBUG: Trying rule: has_exists_script; took: 0:00:00
DEBUG: Trying rule: heroku_not_command; took: 0:00:00
DEBUG: Trying rule: hostscli; took: 0:00:00
DEBUG: Trying rule: ifconfig_device_not_found; took: 0:00:00
DEBUG: Trying rule: java; took: 0:00:00.001000
DEBUG: Trying rule: javac; took: 0:00:00
DEBUG: Trying rule: lein_not_task; took: 0:00:00
DEBUG: Trying rule: ln_no_hard_link; took: 0:00:00
DEBUG: Trying rule: ln_s_order; took: 0:00:00
DEBUG: Trying rule: ls_all; took: 0:00:00
DEBUG: Trying rule: ls_lah; took: 0:00:00
DEBUG: Trying rule: man; took: 0:00:00
DEBUG: Trying rule: mercurial; took: 0:00:00
DEBUG: Trying rule: missing_space_before_subcommand; took: 0:00:00.012000
DEBUG: Trying rule: mkdir_p; took: 0:00:00
DEBUG: Trying rule: mvn_no_command; took: 0:00:00.001000
DEBUG: Trying rule: mvn_unknown_lifecycle_phase; took: 0:00:00
DEBUG: Trying rule: no_such_file; took: 0:00:00.001000
DEBUG: Trying rule: npm_missing_script; took: 0:00:00
DEBUG: Trying rule: npm_run_script; took: 0:00:00
DEBUG: Trying rule: npm_wrong_command; took: 0:00:00
DEBUG: Trying rule: open; took: 0:00:00
DEBUG: Trying rule: pip_unknown_command; took: 0:00:00
DEBUG: Trying rule: python_command; took: 0:00:00
DEBUG: Trying rule: python_execute; took: 0:00:00
DEBUG: Trying rule: quotation_marks; took: 0:00:00
DEBUG: Trying rule: react_native_command_unrecognized; took: 0:00:00
DEBUG: Trying rule: remove_trailing_cedilla; took: 0:00:00
DEBUG: Trying rule: rm_dir; took: 0:00:00
DEBUG: Trying rule: scm_correction; took: 0:00:00
DEBUG: Trying rule: sed_unterminated_s; took: 0:00:00
DEBUG: Trying rule: sl_ls; took: 0:00:00
DEBUG: Trying rule: ssh_known_hosts; took: 0:00:00
DEBUG: Trying rule: sudo; took: 0:00:00
DEBUG: Trying rule: sudo_command_from_user_path; took: 0:00:00
DEBUG: Trying rule: switch_lang; took: 0:00:00
DEBUG: Trying rule: systemctl; took: 0:00:00
DEBUG: Trying rule: tmux; took: 0:00:00
DEBUG: Trying rule: touch; took: 0:00:00
DEBUG: Trying rule: tsuru_login; took: 0:00:00
DEBUG: Trying rule: tsuru_not_command; took: 0:00:00
DEBUG: Trying rule: unknown_command; took: 0:00:00.001000
DEBUG: Trying rule: vagrant_up; took: 0:00:00
DEBUG: Trying rule: whois; took: 0:00:00
DEBUG: Trying rule: workon_doesnt_exists; took: 0:00:00
DEBUG: Trying rule: yarn_alias; took: 0:00:00
DEBUG: Trying rule: yarn_command_not_found; took: 0:00:00
DEBUG: Trying rule: yarn_command_replaced; took: 0:00:00
DEBUG: Trying rule: yarn_help; took: 0:00:00.001000
DEBUG: Trying rule: man_no_space; took: 0:00:00
DEBUG: Trying rule: no_command; took: 0:00:00
DEBUG: Trying rule: history; took: 0:00:00.001000
No fucks given
DEBUG: Total took: 0:00:00.180000

$ type fuck
fuck is a function
fuck ()
{
    TF_PREVIOUS=$(fc -ln -1);
    TF_PYTHONIOENCODING=$PYTHONIOENCODING;
    export TF_ALIAS=fuck;
    export TF_SHELL_ALIASES=$(alias);
    export PYTHONIOENCODING=utf-8;
    TF_CMD=$( thefuck $TF_PREVIOUS THEFUCK_ARGUMENT_PLACEHOLDER $@ ) && eval $TF_CMD;
    export PYTHONIOENCODING=$TF_PYTHONIOENCODING;
    history -s $TF_CMD
}

$ echo $TF_OVERRIDDEN_ALIASES

@hronro
Copy link

hronro commented Aug 2, 2017

I have the same problem, and it seems thefuck only doesn't work with git commands.

@josephfrazier
Copy link
Collaborator

josephfrazier commented Aug 2, 2017

This was fixed in #657, but hasn't been released yet. I'm not yet sure when the next release will be, but you could install from source in the mean time.

@Nightfirecat
Copy link
Author

I'll defer to #668 then. Thanks!

@nvbn
Copy link
Owner

nvbn commented Aug 3, 2017

@Nightfirecat 3.19 with fix was released today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants