Merge pull request #1494 from nwinkler/thefuck

Renamed/updated "the fuck"
pull/1496/head
Nils Winkler 2020-02-16 12:42:06 +01:00 committed by GitHub
commit 3fa3759e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,2 @@
# https://github.com/nvbn/thefuck
alias fuck='eval $(thefuck $(fc -ln -1))'
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