Updated init code for fuck
Moved to a plugin, removed "fuck" alias.
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
# https://github.com/nvbn/thefuck
|
||||
alias fuck='eval $(thefuck $(fc -ln -1))'
|
||||
alias please='fuck'
|
||||
|
||||
9
plugins/available/fuck.plugin.bash
Normal file
9
plugins/available/fuck.plugin.bash
Normal 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
|
||||
Reference in New Issue
Block a user