浏览代码

Merge pull request #4302 from kyleheyne/patch-1

thefuck-alias -> thefuck --alias
Robby Russell 9 年之前
父节点
当前提交
01b378357b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/thefuck/thefuck.plugin.zsh

+ 1 - 1
plugins/thefuck/thefuck.plugin.zsh

@@ -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)"