rockandska / fzf-obc

fzf over bash complete
50 stars 6 forks source link

Add prerequisites step for MacOS #30

Closed timurb closed 4 years ago

timurb commented 4 years ago

MacOS has a bit different flavor of coreutils and currently fzf-obc doesn't work on MacOS. On MacOS there are the following incompatibilities with modern linux distributions:

Probably a few more options could be unsupported — I gave up at this point.

I'm using MacOS 10.14.6 Mojave and tried to select tag 1.2.0 for installation.

timurb commented 4 years ago

Actually after proper installation/upgrade of bash, sed and coreutils the issue faded away:

brew install bash
brew install gnu-sed
brew install coreutils
echo "export PATH=/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/sbin:$PATH" >> ~/.bash_profile
chsh -s /usr/local/bin/bash

May be it makes sense to put that into docs.

rockandska commented 4 years ago

Hello,

It is already in the docs more or less explicitly but could add a specific section/warning/step for MacOS user.

Thanks for your feedback

rockandska commented 4 years ago

Added to prerequisites section