Commit f534b4b3 authored by Roland Chernov's avatar Roland Chernov
Browse files

Thefuck: fixed compability with latest version

parent 54e27406
......@@ -7,7 +7,7 @@ fi
eval "$(thefuck-alias)"
fuck-command-line() {
FUCK="$(thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"
FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"
[[ -z $FUCK ]] && echo -n -e "\a" && return
BUFFER=$FUCK
zle end-of-line
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment