nvbn / thefuck

Magnificent app which corrects your previous console command.
MIT License
84.76k stars 3.42k forks source link

Doesn't work with aliases #1325

Closed spekulatius closed 2 years ago

spekulatius commented 2 years ago

The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):

The Fuck 3.32 using Python 3.6.9 and Bash 4.4.20(1)-release

Your system (Debian 7, ArchLinux, Windows, etc.):

elementary OS (Linux x1 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux)

How to reproduce the bug:

alias push="git push"

# push any branch that isn't linked to upstream
push

# output:
# ...
# remote: 
# remote: To create a merge request for test, visit:
# remote:   https://github.com/....
# remote: 
# ...

fuck

# prints: git stash [enter/↑/↓/ctrl+c]
# no other options on up or down.

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute [log.txt](https://github.com/nvbn/thefuck/files/9461219/log.txt) in your shell before The Fuck):

DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'excluded_search_path_prefixes': [],
 'history_limit': None,
 'instant_mode': False,
 'no_colors': False,
 'num_close_matches': 3,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': PosixPath('/home/peter/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}
DEBUG: Received output: 13:44:13.613572 git.c:344               trace: built-in: git status
On branch test
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    ../.logs/
    ../.notes/

nothing added to commit but untracked files present (use "git add" to track)

DEBUG: Call: gs; with env: {'NVM_DIR': '/home/peter/.nvm', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_MENU_PREFIX': 'gnome-', 'LANG': 'C', 'GDM_LANG': 'en_US', 'DISPLAY': ':0', 'QT_STYLE_OVERRIDE': 'adwaita', 'GTK_CSD': '1', 'COLORTERM': 'truecolor', 'NVM_CD_FLAGS': '', 'TF_SHELL_ALIASES': 'alias .env=\'subl .env\'\nalias 10=\'sleep 10\'\nalias 100=\'sleep 100\'\nalias 1000=\'sleep 1000\'\nalias 10000=\'sleep 10000\'\nalias 15min=\'sleep 1200\'\nalias 15mins=\'15min\'\nalias 1hr=\'sleep 3600\'\nalias 2hr=\'sleep 7200\'\nalias 2hrs=\'2hr\'\nalias 30min=\'sleep 1800\'\nalias 30mins=\'30min\'\nalias 45min=\'sleep 2700\'\nalias 45mins=\'45min\'\nalias 4hr=\'sleep 14400\'\nalias 4hrs=\'4hr\'\nalias 60=\'sleep 60\'\nalias 90min=\'sleep 5400\'\nalias 90mins=\'90min\'\nalias alert=\'notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e \'\\\'\'s/^\\s*[0-9]\\+\\s*//;s/[;&|]\\s*alert$//\'\\\'\')"\'\nalias aliases=\'subl ~/.bash_aliases\'\nalias apis=\'cd /var/www/apis\'\nalias artisan=\'php artisan\'\nalias assets=\'cd /var/www/asset-store/\'\nalias backup=\'    cd /var/www/; ./backup_projects; ./backup_hetzner    ; saydone\'\nalias backup_hdd=\'cd /var/www/; ./backup_projects; ./backup_hetzner_hdd; saydone\'\nalias be=\'cd /var/www/dev.browserextension.dev\'\nalias bfw=\'nowork; sleep 300; work\'\nalias branch=\'git branch\'\nalias bsi=\'cd /var/www/dev.bitesizedinsights.com\'\nalias byoi=\'cd /var/www/dev.bringyourownideas.com\'\nalias c=\'clear\'\nalias c-public=\' git checkout public/;git status\'\nalias checkout=\'git checkout\'\nalias ci=\'composer install\'\nalias cii=\'composer install --ignore-platform-reqs\'\nalias cl=\'clear-log\'\nalias clear-env=\'clear-log; php artisan optimize:clear; redis-clear\'\nalias clear-log=\'printf "\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n" > ./storage/logs/laravel.log\'\nalias clear-logs=\'clear-log\'\nalias clearss=\'rm -rf silverstripe-cache/ /tmp/silverstripe*\'\nalias clone=\'git clone\'\nalias cockpit=\'cd /var/www/apis/cockpit\'\nalias commit=\'git commit\'\nalias competitors=\'subl .notes/competitors\'\nalias contrib=\'cd /var/www/contrib/own\'\nalias contrib-others=\'cd /var/www/contrib/others\'\nalias contrib-temp=\'cd /var/www/contrib/temp\'\nalias cr=\'composer require\'\nalias cri=\'composer require --ignore-platform-reqs\'\nalias cu=\'composer update\'\nalias cui=\'composer update --ignore-platform-reqs\'\nalias db=\'mysql -u root -ppassword\'\nalias dev=\'git checkout development 2> /dev/null; git checkout dev 2> /dev/null; git checkout dev-master 2> /dev/null; git checkout develop 2> /dev/null\'\nalias devbuild=\'sudo rm -rf silverstripe-cache/*; sudo -u www-data php vendor/silverstripe/framework/cli-script.php dev/build\'\nalias docker-clean=\'docker container prune --force; docker image prune --force\'\nalias egrep=\'egrep --color=auto\'\nalias f=\'faas-cli\'\nalias fetch=\'git fetch --all\'\nalias ff=\'firefox\'\nalias fgrep=\'fgrep --color=auto\'\nalias fif=\'grep -Hrnia\'\nalias fix=\'php-cs-fixer --rules=@PSR2 fix ./app\'\nalias fix-comments=\'/var/www/fix-comments\'\nalias fixfile=\'rm .php_cs.cache; php-cs-fixer --rules=@PSR2 fix \'\nalias forge=\'~/.config/composer/vendor/laravel/forge-cli/builds/forge\'\nalias freelancing=\'hostctl disable nofreelancing\'\nalias fresh=\'samfs; saoc\'\nalias ga=\'git add\'\nalias gadd=\'git commit --amend --no-edit\'\nalias gaddallandpush=\'git add .; git commit --amend --no-edit; git push -f\'\nalias gaddpush=\'git commit --amend --no-edit; git push -f\'\nalias gc=\'echo;echo;echo \'\\\'\'use gco\'\\\'\';echo;echo\'\nalias gco=\'git checkout\'\nalias gd=\'git diff\'\nalias git-clean=\'git remote prune origin && git repack && git prune-packed && git reflog expire --expire=1.month.ago && git gc && git gc --aggressive\'\nalias git-replace-remote=\'git remote rm origin; git remote add origin \'\nalias git-undo=\'git reset --soft HEAD^\'\nalias gitkk=\'gitk --all &\'\nalias gl=\'git pull\'\nalias gmail=\'mail; sleep 1; firefox https://duckduckgo.com/?q=!gmail\'\nalias gmt=\'git mergetool\'\nalias gp=\'git push\'\nalias gpc=\'git push; clear\'\nalias gr=\'git reset\'\nalias grep=\'grep --color=auto\'\nalias gs=\'git status\'\nalias h=\'cd ~/hacking\'\nalias hacks=\'cd /var/www/hacks\'\nalias horizon=\'php artisan horizon\'\nalias hosts=\'subl /etc/hosts\'\nalias htb=\'openvpn ~/hacking/lab_spekulatius.ovpn\'\nalias htb-notes=\'s ~/hacking/tutorials/HTB/notes\'\nalias john=\'docker run --name=john --rm -v ~/hacking:/opt/cracking -ti --entrypoint bash obscuritylabs/johntheripper\'\nalias kimeta=\'cd /var/www/dev.kimeta.de/kmta\'\nalias kmta=\'kimeta\'\nalias kmta-db=\'mysql -h 127.0.0.1 --port=3307 -u root -phawaii agp_stage   # docker exec -it docker_database_1 /bin/bash + local login\'\nalias kmta-docker=\'docker exec -it docker_php_1 /bin/bash\'\nalias kmta-tail=\'multitail -l \'\\\'\'ssh sam-1 "tail -f /var/www/html/current/storage/logs/laravel.log"\'\\\'\' -l \'\\\'\'ssh sam-2 "tail -f /var/www/html/current/storage/logs/laravel.log"\'\\\'\'\'\nalias l=\'ls -CF\'\nalias la=\'ls -A\'\nalias later=\'subl /var/www/later\'\nalias listener=\'nc -lvnp 8888\'\nalias ll=\'ls -alF\'\nalias local-seo=\'subl /var/www/contrib/own/awesome-seo/local-seo/README.md\'\nalias log=\'git log\'\nalias louder=\'pactl set-sink-volume 0 +50%\'\nalias ls=\'ls --color=auto\'\nalias m=\'cd /var/www/dev.merkur.peterthaleikis.com\'\nalias mail=\'hostctl disable nomail\'\nalias mailbox=\'mail; sleep 1; firefox https://office.mailbox.org/appsuite/\'\nalias master=\'git checkout master 2> /dev/null; git checkout main 2> /dev/null\'\nalias merge=\'git merge\'\nalias mergetool=\'git mergetool\'\nalias merkur=\'cd /var/www/dev.merkur.peterthaleikis.com\'\nalias mfs=\'clear-env; php artisan migrate:fresh --seed\'\nalias migrate=\'php artisan migrate\'\nalias misc-server=\'servers; ssh forge@misc\'\nalias misc80-server=\'servers; ssh forge@misc80\'\nalias moddate=\'php /var/www/tools/update_modified.php\'\nalias nofinance=\'hostctl enable nofinance\'\nalias notes=\'cd /var/www/notes\'\nalias nowork=\'hostctl disable nosocial nofreelancing nomail nostats nodevsites nomakersites nofinance noownsites\'\nalias openports=\'netstat -lntu\'\nalias pagex=\'cd /var/www/dev.pageexplorer.net\'\nalias pagex-server=\'servers; ssh forge@pagex\'\nalias phpscraper=\'cd /var/www/contrib/own/phpscraper\'\nalias phpunit=\'./vendor/phpunit/phpunit/phpunit\'\nalias pl=\'cd /var/www/dev.projector.peterthaleikis.com/sites/pastablelists.com\'\nalias projector=\'cd /var/www/dev.projector.peterthaleikis.com\'\nalias pt=\'cd /var/www/dev.peterthaleikis.com\'\nalias pull=\'git pull\'\nalias push=\'git push\'\nalias py=\'python3\'\nalias py3=\'python3\'\nalias pyhon=\'python3\'\nalias pyhon3=\'python3\'\nalias python=\'python3\'\nalias ra=\'s routes/api.php\'\nalias rc=\'cd /var/www/dev.releasecandidate.dev\'\nalias rebase=\'git rebase\'\nalias redis-clear=\'redis-cli \'\\\'\'FLUSHDB\'\\\'\'\'\nalias rl=\'cd /var/www/dev.rankletter.com\'\nalias rl-server=\'servers; ssh forge@rl\'\nalias rlblog=\'cd /var/www/blog-rankletter\'\nalias rustscan=\'docker run rustscan/rustscan --scan-order=random\'\nalias rw=\'s routes/web.php\'\nalias s=\'subl\'\nalias sa=\'sail artisan\'\nalias sail=\'./vendor/laravel/sail/bin/sail\'\nalias sake=\'./vendor/silverstripe/framework/sake\'\nalias sam=\'sail artisan migrate\'\nalias samf=\'sail artisan migrate:fresh\'\nalias samfs=\'sail artisan migrate:fresh --seed\'\nalias saoc=\'sail artisan optimize:clear\'\nalias sat=\'sail artisan tinker\'\nalias saydone=\'notify-send \'\\\'\'Done\'\\\'\'\'\nalias sci=\'sail composer install\'\nalias scr=\'sail composer require\'\nalias scu=\'sail composer update\'\nalias sdb=\'sail mysql\'\nalias seo-bookmarklets=\'subl /var/www/contrib/own/awesome-seo/seo-bookmarklets/README.md\'\nalias seo-browser-extensions=\'subl /var/www/contrib/own/awesome-seo/seo-browser-extensions/README.md\'\nalias seo-case-study=\'subl /var/www/contrib/own/awesome-seo/seo-case-study/README.md\'\nalias seo-training=\'subl /var/www/contrib/own/awesome-seo/seo-courses-and-training/README.md\'\nalias servers=\'subl /var/www/notes/Accounts/Tech/Forge/servers\'\nalias sites=\'cd /etc/nginx/sites-enabled; subl /etc/nginx/sites-enabled\'\nalias smysql=\'sail mysql\'\nalias snc=\'cd /var/www/dev.startupnamecheck.com\'\nalias sncblog=\'cd /var/www/blog-startupnamecheck\'\nalias ssh-sam-prod-1=\'ssh deploy@213.157.3.132 -p 5513 -i ~/.ssh/id_kimeta_deploy -c aes256-gcm@openssh.com\'\nalias ssh-sam-prod-2=\'ssh deploy@213.157.3.132 -p 5514 -i ~/.ssh/id_kimeta_deploy -c aes256-gcm@openssh.com\'\nalias ssh-sam-stage=\'ssh deploy@agp.regio-power.de -p 5613 -i ~/.ssh/id_kimeta_deploy -c aes256-gcm@openssh.com\'\nalias st=\'sat\'\nalias stash=\'git stash\'\nalias status=\'git status\'\nalias sublbe=\'subl /var/www/dev.browserextension.dev\'\nalias sublbsi=\'subl /var/www/dev.bitesizedinsights.com\'\nalias sublcl=\'subl /var/www/dev.clublink.to /var/www/apis/faasd-screenshotter /var/www/apis/faasd-clubhouse-events-scraper\'\nalias sublcontrib=\'subl cd /var/www/contrib/own\'\nalias sublhacks=\'subl /var/www/hacks\'\nalias sublnotes=\'subl /var/www/notes\'\nalias sublpagex=\'subl /var/www/dev.pageexplorer.net /var/www/ext-pageexplorer\'\nalias sublpt=\'subl /var/www/dev.peterthaleikis.com\'\nalias sublrc=\'subl /var/www/dev.releasecandidate.dev\'\nalias sublrl=\'subl /var/www/dev.rankletter.com /var/www/blog-rankletter\'\nalias sublsnc=\'subl /var/www/dev.startupnamecheck.com /var/www/blog-startupnamecheck\'\nalias sublwl=\'subl /var/www/dev.whichlogin.com /var/www/blog-whichlogin\'\nalias t=\'cd /tmp\'\nalias tail-errors=\'clear-log; c; tail -f ./storage/logs/laravel.log\'\nalias tinker=\'sail artisan tinker\'\nalias tinkering=\'cd /var/www/tinkering\'\nalias tmp=\'cd /tmp\'\nalias todo=\'subl .notes/todo\'\nalias tree-log=\'nano /var/www/notes/Tree/log\'\nalias tw=\'tinkerwell\'\nalias tweet=\'s /var/www/notes/Twitter/ideas\'\nalias um=\'update-master\'\nalias umami-server=\'servers; ssh forge@umami\'\nalias umc=\'update-master; git-clean; saydone\'\nalias update-master=\'echo \'\\\'\'updating master branch soon\'\\\'\'; sleep 400; git checkout master; git pull; git pull\'\nalias upgrade=\'composer update; yarn upgrade; ga *.lock\'\nalias wa=\'cd /var/www/apis/faasd-website-analyser/\'\nalias webstuff=\'subl /var/www/contrib/own/web-stuff/README.md\'\nalias wip=\'git commit -m \'\\\'\'wip\'\\\'\'\'\nalias wipa=\'wipall\'\nalias wipall=\'git add .; git commit -m \'\\\'\'wip\'\\\'\'\'\nalias wipap=\'wipall; push\'\nalias wipape=\'wipall; push; 100; exit\'\nalias wipp=\'wipall; git push\'\nalias wl=\'cd /var/www/dev3.whichlogin.com\'\nalias wlblog=\'cd /var/www/blog-whichlogin\'\nalias work=\'  hostctl enable  nosocial nofreelancing nomail nostats nodevsites nomakersites nofinance noownsites\'\nalias www=\'cd /var/www\'\nalias yase=\'s /var/www/notes/Ideas/Yase-Grok/idea\'', 'DESKTOP_AUTOSTART_ID': '10423a2398f36f2104166144974690756200000016180018', 'XDG_VTNR': '7', 'GIO_LAUNCHED_DESKTOP_FILE_PID': '2010', 'GTK3_MODULES': 'pantheon-filechooser-module', 'PYTHONIOENCODING': 'utf-8', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'MANDATORY_PATH': '/usr/share/gconf/pantheon.mandatory.path', 'XDG_SESSION_ID': 'c2', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/peter', 'USER': 'peter', 'DESKTOP_SESSION': 'pantheon', 'GOPATH': '/home/peter/.go', 'TF_SHELL': 'bash', 'DEFAULTS_PATH': '/usr/share/gconf/pantheon.default.path', 'QT_QPA_PLATFORMTHEME': 'gtk3', 'PWD': '/var/www/dev.kimeta.de/kmta', 'HOME': '/home/peter', 'GUAKE_TAB_UUID': '17760f8f-8c26-410e-997e-610d54e1b9fe', 'SSH_AGENT_PID': '1739', '__GIT_PROMPT_SHOW_UNTRACKED_FILES': '', 'QT_ACCESSIBILITY': '1', 'XDG_SESSION_TYPE': 'x11', 'XDG_DATA_DIRS': '/usr/share/gnome:/usr/share/pantheon:/home/peter/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'XDG_SESSION_DESKTOP': 'pantheon', 'GTK_MODULES': 'gail:atk-bridge', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'VTE_VERSION': '5202', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'QT_IM_MODULE': 'ibus', 'XMODIFIERS': '@im=ibus', 'NVM_BIN': '/home/peter/.nvm/versions/node/v16.15.0/bin', 'XDG_CURRENT_DESKTOP': 'Pantheon', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'TF_ALIAS': 'fuck', 'GIO_LAUNCHED_DESKTOP_FILE': '/home/peter/.config/autostart/guake.desktop', 'XDG_SEAT': 'seat0', 'SHLVL': '1', 'LANGUAGE': 'en_NZ:en', 'GIT_BRANCH': 'test', 'GDMSESSION': 'pantheon', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LOGNAME': 'peter', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XAUTHORITY': '/home/peter/.Xauthority', 'TF_HISTORY': '\t ga .\n\t gs\n\t git show\n\t git-undo\n\t gs\n\t git reset .\n\t gs\n\t gd\n\t ga .\n\t gs', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-pantheon:/etc/xdg', 'PATH': '/home/peter/.cargo/bin:/home/peter/.go/bin:/home/peter/.composer/vendor/bin:/home/peter/.yarn/bin:/home/peter/.config/yarn/global/node_modules/.bin:/home/peter/.nvm/versions/node/v16.15.0/bin:/home/peter/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'THEFUCK_DEBUG': 'true', 'SESSION_MANAGER': 'local/x1:@/tmp/.ICE-unix/1618,unix/x1:/tmp/.ICE-unix/1618', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/peter/.local/bin/thefuck', 'LC_ALL': 'C', 'GIT_TRACE': '1'}; is slow: False took: 0:00:00.027906
DEBUG: Importing rule: adb_unknown_command; took: 0:00:00.000668
DEBUG: Importing rule: ag_literal; took: 0:00:00.000419
DEBUG: Importing rule: apt_get; took: 0:00:00.022597
DEBUG: Importing rule: apt_get_search; took: 0:00:00.000402
DEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.000684
DEBUG: Importing rule: apt_list_upgradable; took: 0:00:00.000304
DEBUG: Importing rule: apt_upgrade; took: 0:00:00.000328
DEBUG: Importing rule: aws_cli; took: 0:00:00.000263
DEBUG: Importing rule: az_cli; took: 0:00:00.000273
DEBUG: Importing rule: brew_cask_dependency; took: 0:00:00.000719
DEBUG: Importing rule: brew_install; took: 0:00:00.000265
DEBUG: Importing rule: brew_link; took: 0:00:00.000262
DEBUG: Importing rule: brew_reinstall; took: 0:00:00.000593
DEBUG: Importing rule: brew_uninstall; took: 0:00:00.000409
DEBUG: Importing rule: brew_unknown_command; took: 0:00:00.000384
DEBUG: Importing rule: brew_update_formula; took: 0:00:00.000464
DEBUG: Importing rule: cargo; took: 0:00:00.000287
DEBUG: Importing rule: cargo_no_command; took: 0:00:00.000393
DEBUG: Importing rule: cat_dir; took: 0:00:00.000465
DEBUG: Importing rule: cd_correction; took: 0:00:00.001187
DEBUG: Importing rule: cd_cs; took: 0:00:00.000210
DEBUG: Importing rule: cd_mkdir; took: 0:00:00.000248
DEBUG: Importing rule: cd_parent; took: 0:00:00.000235
DEBUG: Importing rule: chmod_x; took: 0:00:00.000196
DEBUG: Importing rule: choco_install; took: 0:00:00.000613
DEBUG: Importing rule: composer_not_command; took: 0:00:00.000277
DEBUG: Importing rule: conda_mistype; took: 0:00:00.000274
DEBUG: Importing rule: cp_create_destination; took: 0:00:00.000264
DEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.000330
DEBUG: Importing rule: cpp11; took: 0:00:00.000256
DEBUG: Importing rule: dirty_untar; took: 0:00:00.001636
DEBUG: Importing rule: dirty_unzip; took: 0:00:00.001245
DEBUG: Importing rule: django_south_ghost; took: 0:00:00.000264
DEBUG: Importing rule: django_south_merge; took: 0:00:00.000636
DEBUG: Importing rule: dnf_no_such_command; took: 0:00:00.000916
DEBUG: Importing rule: docker_image_being_used_by_container; took: 0:00:00.000380
DEBUG: Importing rule: docker_login; took: 0:00:00.000398
DEBUG: Importing rule: docker_not_command; took: 0:00:00.000715
DEBUG: Importing rule: dry; took: 0:00:00.000299
DEBUG: Importing rule: fab_command_not_found; took: 0:00:00.000549
DEBUG: Importing rule: fix_alt_space; took: 0:00:00.000391
DEBUG: Importing rule: fix_file; took: 0:00:00.003260
DEBUG: Importing rule: gem_unknown_command; took: 0:00:00.001073
DEBUG: Importing rule: git_add; took: 0:00:00.000760
DEBUG: Importing rule: git_add_force; took: 0:00:00.000287
DEBUG: Importing rule: git_bisect_usage; took: 0:00:00.000255
DEBUG: Importing rule: git_branch_0flag; took: 0:00:00.000328
DEBUG: Importing rule: git_branch_delete; took: 0:00:00.000255
DEBUG: Importing rule: git_branch_delete_checked_out; took: 0:00:00.000254
DEBUG: Importing rule: git_branch_exists; took: 0:00:00.000272
DEBUG: Importing rule: git_branch_list; took: 0:00:00.000303
DEBUG: Importing rule: git_checkout; took: 0:00:00.000339
DEBUG: Importing rule: git_clone_git_clone; took: 0:00:00.000258
DEBUG: Importing rule: git_commit_add; took: 0:00:00.000264
DEBUG: Importing rule: git_commit_amend; took: 0:00:00.000308
DEBUG: Importing rule: git_commit_reset; took: 0:00:00.000252
DEBUG: Importing rule: git_diff_no_index; took: 0:00:00.000235
DEBUG: Importing rule: git_diff_staged; took: 0:00:00.000238
DEBUG: Importing rule: git_fix_stash; took: 0:00:00.000303
DEBUG: Importing rule: git_flag_after_filename; took: 0:00:00.000232
DEBUG: Importing rule: git_help_aliased; took: 0:00:00.000222
DEBUG: Importing rule: git_hook_bypass; took: 0:00:00.000232
DEBUG: Importing rule: git_lfs_mistype; took: 0:00:00.000288
DEBUG: Importing rule: git_main_master; took: 0:00:00.000229
DEBUG: Importing rule: git_merge; took: 0:00:00.000247
DEBUG: Importing rule: git_merge_unrelated; took: 0:00:00.000223
DEBUG: Importing rule: git_not_command; took: 0:00:00.000358
DEBUG: Importing rule: git_pull; took: 0:00:00.000351
DEBUG: Importing rule: git_pull_clone; took: 0:00:00.000319
DEBUG: Importing rule: git_pull_uncommitted_changes; took: 0:00:00.000291
DEBUG: Importing rule: git_push; took: 0:00:00.000300
DEBUG: Importing rule: git_push_different_branch_names; took: 0:00:00.000243
DEBUG: Importing rule: git_push_force; took: 0:00:00.000236
DEBUG: Importing rule: git_push_pull; took: 0:00:00.000304
DEBUG: Importing rule: git_push_without_commits; took: 0:00:00.000300
DEBUG: Importing rule: git_rebase_merge_dir; took: 0:00:00.000245
DEBUG: Importing rule: git_rebase_no_changes; took: 0:00:00.000234
DEBUG: Importing rule: git_remote_delete; took: 0:00:00.000308
DEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00.000340
DEBUG: Importing rule: git_rm_local_modifications; took: 0:00:00.000308
DEBUG: Importing rule: git_rm_recursive; took: 0:00:00.000296
DEBUG: Importing rule: git_rm_staged; took: 0:00:00.000248
DEBUG: Importing rule: git_stash; took: 0:00:00.000280
DEBUG: Importing rule: git_stash_pop; took: 0:00:00.000249
DEBUG: Importing rule: git_tag_force; took: 0:00:00.001334
DEBUG: Importing rule: git_two_dashes; took: 0:00:00.000478
DEBUG: Importing rule: go_run; took: 0:00:00.000446
DEBUG: Importing rule: go_unknown_command; took: 0:00:00.000740
DEBUG: Importing rule: gradle_no_task; took: 0:00:00.000680
DEBUG: Importing rule: gradle_wrapper; took: 0:00:00.000346
DEBUG: Importing rule: grep_arguments_order; took: 0:00:00.000318
DEBUG: Importing rule: grep_recursive; took: 0:00:00.000260
DEBUG: Importing rule: grunt_task_not_found; took: 0:00:00.000473
DEBUG: Importing rule: gulp_not_task; took: 0:00:00.000290
DEBUG: Importing rule: has_exists_script; took: 0:00:00.000253
DEBUG: Importing rule: heroku_multiple_apps; took: 0:00:00.000268
DEBUG: Importing rule: heroku_not_command; took: 0:00:00.000257
DEBUG: Importing rule: history; took: 0:00:00.000222
DEBUG: Importing rule: hostscli; took: 0:00:00.000365
DEBUG: Importing rule: ifconfig_device_not_found; took: 0:00:00.000287
DEBUG: Importing rule: java; took: 0:00:00.000252
DEBUG: Importing rule: javac; took: 0:00:00.000266
DEBUG: Importing rule: lein_not_task; took: 0:00:00.000331
DEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.000281
DEBUG: Importing rule: ln_s_order; took: 0:00:00.000248
DEBUG: Importing rule: long_form_help; took: 0:00:00.000222
DEBUG: Importing rule: ls_all; took: 0:00:00.000315
DEBUG: Importing rule: ls_lah; took: 0:00:00.000311
DEBUG: Importing rule: man; took: 0:00:00.000317
DEBUG: Importing rule: man_no_space; took: 0:00:00.000269
DEBUG: Importing rule: mercurial; took: 0:00:00.000402
DEBUG: Importing rule: missing_space_before_subcommand; took: 0:00:00.000384
DEBUG: Importing rule: mkdir_p; took: 0:00:00.000360
DEBUG: Importing rule: mvn_no_command; took: 0:00:00.000397
DEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000388
DEBUG: Importing rule: nixos_cmd_not_found; took: 0:00:00.001352
DEBUG: Importing rule: no_command; took: 0:00:00.000704
DEBUG: Importing rule: no_such_file; took: 0:00:00.000474
DEBUG: Importing rule: npm_missing_script; took: 0:00:00.001176
DEBUG: Importing rule: npm_run_script; took: 0:00:00.000429
DEBUG: Importing rule: npm_wrong_command; took: 0:00:00.000332
DEBUG: Importing rule: omnienv_no_such_command; took: 0:00:00.001151
DEBUG: Importing rule: open; took: 0:00:00.000364
DEBUG: Importing rule: pacman; took: 0:00:00.001191
DEBUG: Importing rule: pacman_invalid_option; took: 0:00:00.000573
DEBUG: Importing rule: pacman_not_found; took: 0:00:00.000485
DEBUG: Importing rule: path_from_history; took: 0:00:00.000426
DEBUG: Importing rule: php_s; took: 0:00:00.000321
DEBUG: Importing rule: pip_install; took: 0:00:00.000288
DEBUG: Importing rule: pip_unknown_command; took: 0:00:00.000340
DEBUG: Importing rule: port_already_in_use; took: 0:00:00.000370
DEBUG: Importing rule: prove_recursively; took: 0:00:00.000298
DEBUG: Importing rule: python_command; took: 0:00:00.000358
DEBUG: Importing rule: python_execute; took: 0:00:00.000285
DEBUG: Importing rule: python_module_error; took: 0:00:00.000239
DEBUG: Importing rule: quotation_marks; took: 0:00:00.000207
DEBUG: Importing rule: rails_migrations_pending; took: 0:00:00.000183
DEBUG: Importing rule: react_native_command_unrecognized; took: 0:00:00.000399
DEBUG: Importing rule: remove_shell_prompt_literal; took: 0:00:00.000228
DEBUG: Importing rule: remove_trailing_cedilla; took: 0:00:00.000285
DEBUG: Importing rule: rm_dir; took: 0:00:00.000390
DEBUG: Importing rule: rm_root; took: 0:00:00.000309
DEBUG: Importing rule: scm_correction; took: 0:00:00.000309
DEBUG: Importing rule: sed_unterminated_s; took: 0:00:00.000303
DEBUG: Importing rule: sl_ls; took: 0:00:00.000170
DEBUG: Importing rule: ssh_known_hosts; took: 0:00:00.000265
DEBUG: Importing rule: sudo; took: 0:00:00.000196
DEBUG: Importing rule: sudo_command_from_user_path; took: 0:00:00.000278
DEBUG: Importing rule: switch_lang; took: 0:00:00.000399
DEBUG: Importing rule: systemctl; took: 0:00:00.000366
DEBUG: Importing rule: terraform_init; took: 0:00:00.000564
DEBUG: Importing rule: test.py; took: 0:00:00.003003
DEBUG: Importing rule: tmux; took: 0:00:00.002400
DEBUG: Importing rule: touch; took: 0:00:00.002396
DEBUG: Importing rule: tsuru_login; took: 0:00:00.002078
DEBUG: Importing rule: tsuru_not_command; took: 0:00:00.002642
DEBUG: Importing rule: unknown_command; took: 0:00:00.002394
DEBUG: Importing rule: unsudo; took: 0:00:00.001932
DEBUG: Importing rule: vagrant_up; took: 0:00:00.002374
DEBUG: Importing rule: whois; took: 0:00:00.003232
DEBUG: Importing rule: workon_doesnt_exists; took: 0:00:00.001021
DEBUG: Importing rule: wrong_hyphen_before_subcommand; took: 0:00:00.000776
DEBUG: Importing rule: yarn_alias; took: 0:00:00.000783
DEBUG: Importing rule: yarn_command_not_found; took: 0:00:00.001561
DEBUG: Importing rule: yarn_command_replaced; took: 0:00:00.001066
DEBUG: Importing rule: yarn_help; took: 0:00:00.000730
DEBUG: Importing rule: yum_invalid_operation; took: 0:00:00.001539
DEBUG: Trying rule: path_from_history; took: 0:00:00.001204
DEBUG: Trying rule: cd_cs; took: 0:00:00.000165
DEBUG: Trying rule: dry; took: 0:00:00.000008
DEBUG: Trying rule: git_stash_pop; took: 0:00:00.000125
DEBUG: Trying rule: test.py; took: 0:00:00.000003
DEBUG: Trying rule: adb_unknown_command; took: 0:00:00.000038
DEBUG: Trying rule: ag_literal; took: 0:00:00.000076
DEBUG: Trying rule: apt_get; took: 0:00:00.000007
DEBUG: Trying rule: apt_get_search; took: 0:00:00.000076
DEBUG: Trying rule: apt_invalid_operation; took: 0:00:00.000089
DEBUG: Trying rule: apt_list_upgradable; took: 0:00:00.000084
DEBUG: Trying rule: apt_upgrade; took: 0:00:00.000095
DEBUG: Trying rule: aws_cli; took: 0:00:00.000069
DEBUG: Trying rule: az_cli; took: 0:00:00.000063
DEBUG: Trying rule: brew_link; took: 0:00:00.000060
DEBUG: Trying rule: brew_reinstall; took: 0:00:00.000056
DEBUG: Trying rule: brew_uninstall; took: 0:00:00.000056
DEBUG: Trying rule: brew_update_formula; took: 0:00:00.000056
DEBUG: Trying rule: cargo; took: 0:00:00.000005
DEBUG: Trying rule: cargo_no_command; took: 0:00:00.000060
DEBUG: Trying rule: cat_dir; took: 0:00:00.000069
DEBUG: Trying rule: cd_correction; took: 0:00:00.000081
DEBUG: Trying rule: cd_mkdir; took: 0:00:00.000074
DEBUG: Trying rule: cd_parent; took: 0:00:00.000004
DEBUG: Trying rule: chmod_x; took: 0:00:00.000006
DEBUG: Trying rule: composer_not_command; took: 0:00:00.000068
DEBUG: Trying rule: conda_mistype; took: 0:00:00.000066
DEBUG: Trying rule: cp_create_destination; took: 0:00:00.000066
DEBUG: Trying rule: cp_omitting_directory; took: 0:00:00.000082
DEBUG: Trying rule: cpp11; took: 0:00:00.000065
DEBUG: Trying rule: dirty_untar; took: 0:00:00.000066
DEBUG: Trying rule: dirty_unzip; took: 0:00:00.000062
DEBUG: Trying rule: django_south_ghost; took: 0:00:00.000005
DEBUG: Trying rule: django_south_merge; took: 0:00:00.000005
DEBUG: Trying rule: docker_image_being_used_by_container; took: 0:00:00.000063
DEBUG: Trying rule: docker_login; took: 0:00:00.000052
DEBUG: Trying rule: docker_not_command; took: 0:00:00.000078
DEBUG: Trying rule: fab_command_not_found; took: 0:00:00.000064
DEBUG: Trying rule: fix_alt_space; took: 0:00:00.000044
DEBUG: Trying rule: fix_file; took: 0:00:00.000022
DEBUG: Trying rule: gem_unknown_command; took: 0:00:00.000072
DEBUG: Trying rule: git_add; took: 0:00:00.000068
DEBUG: Trying rule: git_add_force; took: 0:00:00.000060
DEBUG: Trying rule: git_bisect_usage; took: 0:00:00.000059
DEBUG: Trying rule: git_branch_0flag; took: 0:00:00.000057
DEBUG: Trying rule: git_branch_delete; took: 0:00:00.000056
DEBUG: Trying rule: git_branch_delete_checked_out; took: 0:00:00.000061
DEBUG: Trying rule: git_branch_exists; took: 0:00:00.000057
DEBUG: Trying rule: git_branch_list; took: 0:00:00.000060
DEBUG: Trying rule: git_checkout; took: 0:00:00.000057
DEBUG: Trying rule: git_clone_git_clone; took: 0:00:00.000057
DEBUG: Trying rule: git_commit_add; took: 0:00:00.000059
DEBUG: Trying rule: git_commit_amend; took: 0:00:00.000058
DEBUG: Trying rule: git_commit_reset; took: 0:00:00.000057
DEBUG: Trying rule: git_diff_no_index; took: 0:00:00.000059
DEBUG: Trying rule: git_diff_staged; took: 0:00:00.000055
DEBUG: Trying rule: git_fix_stash; took: 0:00:00.000062
DEBUG: Trying rule: git_flag_after_filename; took: 0:00:00.000403
DEBUG: Trying rule: git_help_aliased; took: 0:00:00.000065
DEBUG: Trying rule: git_lfs_mistype; took: 0:00:00.000052
DEBUG: Trying rule: git_merge; took: 0:00:00.000049
DEBUG: Trying rule: git_merge_unrelated; took: 0:00:00.000050
DEBUG: Trying rule: git_not_command; took: 0:00:00.000049
DEBUG: Trying rule: git_pull; took: 0:00:00.000047
DEBUG: Trying rule: git_pull_clone; took: 0:00:00.000101
DEBUG: Trying rule: git_pull_uncommitted_changes; took: 0:00:00.000046
DEBUG: Trying rule: git_push; took: 0:00:00.000047
DEBUG: Trying rule: git_push_different_branch_names; took: 0:00:00.000045
DEBUG: Trying rule: git_push_pull; took: 0:00:00.000045
DEBUG: Trying rule: git_push_without_commits; took: 0:00:00.000207
DEBUG: Trying rule: git_rebase_merge_dir; took: 0:00:00.000054
DEBUG: Trying rule: git_rebase_no_changes; took: 0:00:00.000050
DEBUG: Trying rule: git_remote_delete; took: 0:00:00.000046
DEBUG: Trying rule: git_remote_seturl_add; took: 0:00:00.000042
DEBUG: Trying rule: git_rm_local_modifications; took: 0:00:00.000042
DEBUG: Trying rule: git_rm_recursive; took: 0:00:00.000040
DEBUG: Trying rule: git_rm_staged; took: 0:00:00.000040
DEBUG: Trying rule: git_stash; took: 0:00:00.000048
DEBUG: Trying rule: git_tag_force; took: 0:00:00.000043
DEBUG: Trying rule: git_two_dashes; took: 0:00:00.000041
DEBUG: Trying rule: go_run; took: 0:00:00.000048
DEBUG: Trying rule: go_unknown_command; took: 0:00:00.000043
DEBUG: Trying rule: gradle_no_task; took: 0:00:00.000048
DEBUG: Trying rule: gradle_wrapper; took: 0:00:00.000055
DEBUG: Trying rule: grep_arguments_order; took: 0:00:00.000047
DEBUG: Trying rule: grep_recursive; took: 0:00:00.000044
DEBUG: Trying rule: grunt_task_not_found; took: 0:00:00.000045
DEBUG: Trying rule: gulp_not_task; took: 0:00:00.000052
DEBUG: Trying rule: has_exists_script; took: 0:00:00.000618
DEBUG: Trying rule: heroku_multiple_apps; took: 0:00:00.000108
DEBUG: Trying rule: heroku_not_command; took: 0:00:00.000046
DEBUG: Trying rule: hostscli; took: 0:00:00.000079
DEBUG: Trying rule: ifconfig_device_not_found; took: 0:00:00.000060
DEBUG: Trying rule: java; took: 0:00:00.000047
DEBUG: Trying rule: javac; took: 0:00:00.000048
DEBUG: Trying rule: lein_not_task; took: 0:00:00.000064
DEBUG: Trying rule: ln_no_hard_link; took: 0:00:00.000023
DEBUG: Trying rule: ln_s_order; took: 0:00:00.000030
DEBUG: Trying rule: ls_all; took: 0:00:00.000051
DEBUG: Trying rule: ls_lah; took: 0:00:00.000044
DEBUG: Trying rule: man; took: 0:00:00.000052
DEBUG: Trying rule: mercurial; took: 0:00:00.000051
DEBUG: Trying rule: mkdir_p; took: 0:00:00.000031
DEBUG: Trying rule: mvn_no_command; took: 0:00:00.000177
DEBUG: Trying rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000044
DEBUG: Trying rule: no_such_file; took: 0:00:00.000725
DEBUG: Trying rule: npm_missing_script; took: 0:00:00.000053
DEBUG: Trying rule: npm_run_script; took: 0:00:00.000029
DEBUG: Trying rule: npm_wrong_command; took: 0:00:00.000039
DEBUG: Trying rule: open; took: 0:00:00.000039
DEBUG: Trying rule: pacman_invalid_option; took: 0:00:00.000038
DEBUG: Trying rule: php_s; took: 0:00:00.000026
DEBUG: Trying rule: pip_install; took: 0:00:00.000039
DEBUG: Trying rule: pip_unknown_command; took: 0:00:00.000036
DEBUG: Trying rule: port_already_in_use; took: 0:00:00.000670
DEBUG: Trying rule: prove_recursively; took: 0:00:00.000117
DEBUG: Trying rule: python_command; took: 0:00:00.000040
DEBUG: Trying rule: python_execute; took: 0:00:00.000049
DEBUG: Trying rule: python_module_error; took: 0:00:00.000004
DEBUG: Trying rule: quotation_marks; took: 0:00:00.000004
DEBUG: Trying rule: rails_migrations_pending; took: 0:00:00.000004
DEBUG: Trying rule: react_native_command_unrecognized; took: 0:00:00.000047
DEBUG: Trying rule: remove_shell_prompt_literal; took: 0:00:00.000004
DEBUG: Trying rule: remove_trailing_cedilla; took: 0:00:00.000013
DEBUG: Trying rule: rm_dir; took: 0:00:00.000032
DEBUG: Trying rule: scm_correction; took: 0:00:00.000074
DEBUG: Trying rule: sed_unterminated_s; took: 0:00:00.000056
DEBUG: Trying rule: sl_ls; took: 0:00:00.000004
DEBUG: Trying rule: ssh_known_hosts; took: 0:00:00.000044
DEBUG: Trying rule: sudo; took: 0:00:00.000034
DEBUG: Trying rule: sudo_command_from_user_path; took: 0:00:00.000046
DEBUG: Trying rule: switch_lang; took: 0:00:00.000005
DEBUG: Trying rule: systemctl; took: 0:00:00.000066
DEBUG: Trying rule: terraform_init; took: 0:00:00.000044
DEBUG: Trying rule: tmux; took: 0:00:00.000043
DEBUG: Trying rule: touch; took: 0:00:00.000042
DEBUG: Trying rule: tsuru_login; took: 0:00:00.000042
DEBUG: Trying rule: tsuru_not_command; took: 0:00:00.000039
DEBUG: Trying rule: unknown_command; took: 0:00:00.000584
DEBUG: Trying rule: unsudo; took: 0:00:00.000008
DEBUG: Trying rule: vagrant_up; took: 0:00:00.000110
DEBUG: Trying rule: whois; took: 0:00:00.000062
DEBUG: Trying rule: workon_doesnt_exists; took: 0:00:00.000057
DEBUG: Trying rule: yarn_alias; took: 0:00:00.000047
DEBUG: Trying rule: yarn_command_not_found; took: 0:00:00.000057
DEBUG: Trying rule: yarn_command_replaced; took: 0:00:00.000041
DEBUG: Trying rule: yarn_help; took: 0:00:00.000043
DEBUG: Trying rule: git_hook_bypass; took: 0:00:00.000066
DEBUG: Trying rule: git_main_master; took: 0:00:00.000027
DEBUG: Trying rule: man_no_space; took: 0:00:00.000004
DEBUG: Trying rule: no_command; took: 0:00:00.000213
DEBUG: Trying rule: missing_space_before_subcommand; took: 0:00:00.000068
DEBUG: Trying rule: wrong_hyphen_before_subcommand; took: 0:00:00.000050
DEBUG: Trying rule: long_form_help; took: 0:00:00.000846
DEBUG: Trying rule: history; took: 0:00:00.008649
git stash [enter/↑/↓/ctrl+c]

If the bug only appears with a specific application, the output of that application and its version:

As far as I can tell it happens with all aliases.

Anything else you think is relevant:

Defs a great tool to give a fuck about :)

scorphus commented 2 years ago

Aliases are recognized, but there has to be something to fix, some kind of error and/or output to match a rule. For example:

root@572ea5180736:~# git init repo
Initialized empty Git repository in /root/repo/.git/
root@572ea5180736:~# cd repo/
root@572ea5180736:~/repo# git checkout foo
error: pathspec 'foo' did not match any file(s) known to git.
root@572ea5180736:~/repo# fuck
git checkout -b foo [enter/↑/↓/ctrl+c]
Aborted
root@572ea5180736:~/repo# alias gc="git checkout"
root@572ea5180736:~/repo# gc foo
error: pathspec 'foo' did not match any file(s) known to git.
root@572ea5180736:~/repo# fuck
git checkout -b foo [enter/↑/↓/ctrl+c]
Aborted
root@572ea5180736:~/repo#