Closed spekulatius closed 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#
The Fuck 3.32 using Python 3.6.9 and Bash 4.4.20(1)-release
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)
As far as I can tell it happens with all aliases.
Defs a great tool to give a fuck about :)