浏览代码

thefuck-alias -> thefuck --alias

Per warning message.
kyleheyne 8 年之前
父节点
当前提交
022a060ec7
共有 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
 
 # Register alias
-eval "$(thefuck-alias)"
+eval "$(thefuck --alias)"
 
 fuck-command-line() {
     local FUCK="$(THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $(fc -ln -1 | tail -n 1) 2> /dev/null)"