diff --git a/README.md b/README.md index cbce8c2..db03602 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ fda() { # fh - repeat history fh() { - eval $(history | fzf +s | sed 's/ *[0-9]* *//') + eval $(('fc' -l 1 || 'history') | fzf +s | sed 's/ *[0-9]* *//') } # fkill - kill process