From 2318112cede1687af44f906d5e6fbaa62c4ade26 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Sat, 14 May 2016 14:07:11 +0100 Subject: [PATCH] Link to me-and/fzf for future Cygwin support --- Cygwin.md | 3 +++ Issues-with-Cygwin.md | 25 ------------------------- 2 files changed, 3 insertions(+), 25 deletions(-) create mode 100644 Cygwin.md delete mode 100644 Issues-with-Cygwin.md diff --git a/Cygwin.md b/Cygwin.md new file mode 100644 index 0000000..2a1d1a8 --- /dev/null +++ b/Cygwin.md @@ -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. \ No newline at end of file diff --git a/Issues-with-Cygwin.md b/Issues-with-Cygwin.md deleted file mode 100644 index 2af849e..0000000 --- a/Issues-with-Cygwin.md +++ /dev/null @@ -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