Browse Source

Ensure builtin fc is used (see #3001)

Marc Cornellà 9 years ago
parent
commit
03758416fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/history.zsh

+ 1 - 1
lib/history.zsh

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