Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
f534b4b3
Commit
f534b4b3
authored
Jul 23, 2015
by
Roland Chernov
Browse files
Thefuck: fixed compability with latest version
parent
54e27406
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/thefuck/thefuck.plugin.zsh
View file @
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
$(
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
[[
-z
$FUCK
]]
&&
echo
-n
-e
"
\a
"
&&
return
BUFFER
=
$FUCK
BUFFER
=
$FUCK
zle end-of-line
zle end-of-line
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment