thefuck-alias is deprecated. Use thefuck --alias instead.

This commit is contained in:
Patrick Lenz 2015-08-31 21:25:27 +02:00
commit 0d38b85199

View file

@ -4,7 +4,7 @@ if [[ -z $commands[thefuck] ]]; then
fi
# Register alias
eval "$(thefuck-alias)"
eval "$(thefuck --alias)"
fuck-command-line() {
local FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"