thefuck-alias -> thefuck --alias
Per warning message.
This commit is contained in:
parent
ba5fd57c1f
commit
022a060ec7
@ -4,7 +4,7 @@ if [[ -z $commands[thefuck] ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Register alias
|
# Register alias
|
||||||
eval "$(thefuck-alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
|
||||||
fuck-command-line() {
|
fuck-command-line() {
|
||||||
local 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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user