]> arthur.barton.de Git - ax-zsh.git/blob - plugins/thefuck/thefuck.zshrc
Add "thefuck" plugin
[ax-zsh.git] / plugins / thefuck / thefuck.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # thefuck.zshrc: Programatically correct mistyped console commands
3
4 # Make sure that "thefuck(1)" is installed
5 (( $+commands[thefuck] )) || return
6
7 alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'