浏览代码

Ensure builtin fc is used (see #3001)

Marc Cornellà 9 年之前
父节点
当前提交
03758416fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/history.zsh

+ 1 - 1
lib/history.zsh

@@ -6,7 +6,7 @@ function omz_history {
     echo -n >| "$HISTFILE"
     echo >&2 History file deleted. Reload the session to see its effects.
   else
-    fc $@ -l 1
+    builtin fc "$@" -l 1
   fi
 }