mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-13 21:11:13 +01:00
6 lines
202 B
Bash
6 lines
202 B
Bash
if [[ -n $commands[thefuck] ]]; then
|
|
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
|
alias FUCK='fuck'
|
|
else
|
|
echo 'thefuck is not installed, you should "pip install thefuck" first'
|
|
fi
|