mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-20 03:11:58 +00:00
Merge pull request #4302 from kyleheyne/patch-1
thefuck-alias -> thefuck --alias
This commit is contained in:
commit
01b378357b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue