TheFuck doesn't see my zsh aliases :(
See original GitHub issueRules in which get_new_command returns a zsh alias result in command not found errors. Example:
> alias
[...]
baz='echo "it worked!"'
[...]
> cat .thefuck/rules/aliastest.py
def match(command, settings):
return (command.script == 'foo')
def get_new_command(command, settings):
return 'baz'
> foo
zsh: command not found: foo
> fuck
baz
zsh: command not found: baz
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
alias doesn't work when using oh-my-zsh `per-directory-history`
I'm trying to get thefuck working; TheFuck 3.2, Python 2.7.6, zsh 5.0.2 via oh-my-zsh. I can run thefuck git brnch (or, thefuck !!...
Read more >How thefuck alias handle command line arguments - nvbn blog
So in the last step eval git branch --help was called. As everyone know, bash and zsh don't allow command line arguments in...
Read more >A lean terminal setup for doing more while typing less - Medium
First, let's check if zsh is actually installed by typing which zsh . You should see the path to the zsh binary (usually...
Read more >Your CLI alias commands : r/linux - Reddit
Doesn't that depend on how the script is ran and how the alias is set ... and I don't know if this counts...
Read more >An app which corrects your previous console command
It doesn't work but tells you enough the fix should be obvious to a ... too, I've also got a bunch of even...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi guys, do you see this regression again? I am using 3.18 and it is not seeing my gp alias
Hey guys, bumping this, can it be reopened? The issue is still very much there.