diff --git a/README.md b/README.md index cbce8c2aba975fb27ae7960632ac914fbf388e27..db03602166448e79ff802e48975bb6005a504e63 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