dieggsy / eshell-thefuck

Correct the previous eshell command (emacs-lisp port of https://github.com/nvbn/thefuck for eshell)
2 stars 0 forks source link

More generic rules #2

Open dieggsy opened 6 years ago

dieggsy commented 6 years ago

E.g. rules that work on cd should work on it /anywhere/ in a command, not just if it starts with cd. This involves both eshell-thefuck--for-app and the actual new commands returned in :get-new-commmand.

Anywhere in this context probably just means included with && or in a subshell.

dieggsy commented 6 years ago

Note that weird things happen when we call eshell/fuck after cd this && cd that or git branch -m wat && git push