1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

thefuck-alias -> thefuck --alias

Per warning message.
This commit is contained in:
kyleheyne 2015-08-31 17:36:41 -04:00
parent ba5fd57c1f
commit 022a060ec7

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)"