Skip to content
Snippets Groups Projects
Commit dbd627c3 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Update README: Remove section on --disable-gems

This is automatically set in install script. It may only cause unnecessary
confusion.
parent d172c3ce
No related branches found
No related tags found
No related merge requests found
......@@ -291,28 +291,6 @@ a very large list of files, fzf is significantly faster and it does not block.
Tips
----
### Faster startup with `--disable-gems` options
If you're running Ruby 1.9 or above, you can improve the startup time with
`--disable-gems` option to Ruby.
- `time ruby ~/bin/fzf -h`
- 0.077 sec
- `time ruby --disable-gems ~/bin/fzf -h`
- 0.025 sec
You can define fzf function with the option as follows:
```sh
fzf() {
ruby --disable-gems ~/bin/fzf "$@"
}
export -f fzf
```
However, this is automatically set up in your .bashrc and .zshrc if you use the
bundled [install](https://github.com/junegunn/fzf/blob/master/install) script.
### Rendering issues
If you have any rendering issues, check the followings:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment