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
Oh My Zsh
Commits
01b37835
Commit
01b37835
authored
Aug 31, 2015
by
Robby Russell
Browse files
Merge pull request #4302 from kyleheyne/patch-1
thefuck-alias -> thefuck --alias
parents
ba5fd57c
022a060e
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/thefuck/thefuck.plugin.zsh
View file @
01b37835
...
@@ -4,7 +4,7 @@ if [[ -z $commands[thefuck] ]]; then
...
@@ -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
)
"
...
...
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