Update example: suppress error message from fc on bash (#37)

`'fc' -l 1` generated an error message on bash
pull/44/merge
Junegunn Choi 10 years ago
parent 8b80136a87
commit 6ad38bdad3

@ -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

Loading…
Cancel
Save