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

Thefuck: fix global variable assignment

parent f534b4b3
...@@ -7,7 +7,7 @@ fi ...@@ -7,7 +7,7 @@ fi
eval "$(thefuck-alias)" eval "$(thefuck-alias)"
fuck-command-line() { fuck-command-line() {
FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)" local FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"
[[ -z $FUCK ]] && echo -n -e "\a" && return [[ -z $FUCK ]] && echo -n -e "\a" && return
BUFFER=$FUCK BUFFER=$FUCK
zle end-of-line 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