Skip to content
Myr

Fix README examples so that they work both on bash and zsh

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #2887

authored by Junegunn Choi · committed by Junegunn Choi · parent d083f01 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:README.md+2 added-2 removed
555 unmodified lines
556#### 1. Update the list of processes by pressing CTRL-R557558```sh559FZF_DEFAULT_COMMAND='ps -ef' \560 fzf --bind 'ctrl-r:reload($FZF_DEFAULT_COMMAND)' \560 fzf --bind 'ctrl-r:reload(eval "$FZF_DEFAULT_COMMAND")' \561 --header 'Press CTRL-R to reload' --header-lines=1 \562 --height=50% --layout=reverse563```564565#### 2. Switch between sources by pressing CTRL-D or CTRL-F566567```sh568FZF_DEFAULT_COMMAND='find . -type f' \569 fzf --bind 'ctrl-d:reload(find . -type d),ctrl-f:reload($FZF_DEFAULT_COMMAND)' \569 fzf --bind 'ctrl-d:reload(find . -type d),ctrl-f:reload(eval "$FZF_DEFAULT_COMMAND")' \570 --height=50% --layout=reverse571```572573#### 3. Interactive ripgrep integration
141 unmodified lines