Updated init code for fuck

Moved to a plugin, removed "fuck" alias.
pull/1494/head
Nils Winkler 2020-02-13 16:49:43 +01:00
parent fb7160cf60
commit 54673712be
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,2 @@
# https://github.com/nvbn/thefuck # https://github.com/nvbn/thefuck
alias fuck='eval $(thefuck $(fc -ln -1))'
alias please='fuck' alias please='fuck'

View File

@ -0,0 +1,9 @@
cite about-plugin
about-plugin 'Initialization for fuck'
# https://github.com/nvbn/thefuck
if _command_exists thefuck; then
# shellcheck disable=SC2046
eval $(thefuck --alias)
fi