summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index db036021..e8b56617 100644
--- a/README.md
+++ b/README.md
@@ -172,7 +172,7 @@ fda() {
# fh - repeat history
fh() {
- eval $(('fc' -l 1 || 'history') | fzf +s | sed 's/ *[0-9]* *//')
+ eval $(([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf +s | sed 's/ *[0-9]* *//')
}
# fkill - kill process