mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Link to me-and/fzf for future Cygwin support
3
Cygwin.md
Normal file
3
Cygwin.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Cygwin does not include a Go compiler, and therefore the version of fzf you get when you install it, either by running the `install` script or by installing with Cygwin's package managers, you'll be getting the legacy Ruby-based version.
|
||||
|
||||
This legacy Ruby code is being retired from fzf, and will no longer be supported. The Ruby version of fzf has been forked and is now being supported as a separate project at [me-and/fzf](/me-and/fzf) (soon to be renamed); future Cygwin releases will be based off that code, and will probably have a different name.
|
||||
@@ -1,25 +0,0 @@
|
||||
If you install fzf using Cygwin's setup-*.exe package manager, you shouldn't have any of the below problems, but you may not be getting the latest code.
|
||||
|
||||
See also https://github.com/junegunn/fzf/issues/89
|
||||
|
||||
### Source code in dos format
|
||||
|
||||
If you see `line 2: $'\r': command not found` message when you run install script, it is likely that your git installation automatically converted the source to dos format. Please reinstall your git so that it does not clone source in dos format, or you can just use `curl` or `wget` instead to download the source.
|
||||
|
||||
```sh
|
||||
mkdir -p ~/.fzf
|
||||
curl -L https://github.com/junegunn/fzf/archive/master.tar.gz |
|
||||
tar xz --strip-components 1 -C ~/.fzf
|
||||
~/.fzf/install
|
||||
```
|
||||
|
||||
### `No such file or directory`
|
||||
|
||||
You may have trouble running fzf with Ruby for Windows. Try to run it with the Ruby bundled with Cygwin.
|
||||
|
||||
#### References
|
||||
|
||||
- http://stackoverflow.com/questions/3831131/rubygems-cygwin-posix-path-not-found-by-ruby-exe
|
||||
- http://blog.mmediasys.com/2008/10/27/handy-tip-dont-mix-one-click-installer-with-cygwin/
|
||||
- http://www.question-defense.com/2009/03/27/rubyexe-no-such-file-or-directory-cygdrivecrubybingem-loaderror
|
||||
- http://stackoverflow.com/questions/3831131/rubygems-cygwin-posix-path-not-found-by-ruby-exe
|
||||
Reference in New Issue
Block a user