Browse code

Rewrite installation section on README

John Hawthorn authored on 23/09/2018 19:27:17 • GitHub committed on 23/09/2018 19:27:17
Showing 1 changed files

... ...
@@ -33,52 +33,35 @@ Rather than clearing the screen, fzy displays its interface directly below the c
33 33
 
34 34
 ## Installation
35 35
 
36
-### From source
37
-
38
-    make
39
-    sudo make install
40
-
41
-The `PREFIX` environment variable can be used to specify the install location,
42
-the default is `/usr/local`.
43
-
44
-### Arch Linux/MSYS2
45
-
46
-fzy is available in the `community` repo.
47
-
48
-    sudo pacman -S fzy
49
-
50
-### Fedora/Redhat/CentOS
51
-
52
-    sudo yum install https://github.com/jhawthorn/fzy/releases/download/0.9/fzy-0.9-1.x86_64.rpm
53
-
54
-### FreeBSD
36
+**macOS**
55 37
 
56
-    pkg install fzy
38
+Using Homebrew
57 39
 
58
-### Gentoo Linux
40
+    brew install fzy
59 41
 
60
-fzy is available in the main repo.
42
+Using MacPorts
61 43
 
62
-    emerge -av app-shells/fzy
44
+    sudo port install fzy
63 45
 
64
-### macOS
46
+**Arch Linux/MSYS2**: `pacman -S fzy`
65 47
 
66
-Using Homebrew
48
+**FreeBSD**: `pkg install fzy`
67 49
 
68
-    brew install fzy
50
+**Gentoo Linux**: `emerge -av app-shells/fzy`
69 51
 
70
-Using MacPorts
52
+**Ubuntu/Debian 64-bit**: `apt-get install fzy`
71 53
 
72
-    sudo port install fzy
54
+**pkgsrc (NetBSD and others)**: `pkgin install fzy`
73 55
 
74
-### Ubuntu/Debian 64-bit
56
+**openSUSE**: `zypper in fzy`
75 57
 
76
-    wget https://github.com/jhawthorn/fzy/releases/download/0.9/fzy_0.9-1_amd64.deb
77
-    sudo dpkg -i fzy_0.9-1_amd64.deb
58
+### From source
78 59
 
79
-### pkgsrc (NetBSD and others)
60
+    make
61
+    sudo make install
80 62
 
81
-    sudo pkgin install fzy
63
+The `PREFIX` environment variable can be used to specify the install location,
64
+the default is `/usr/local`.
82 65
 
83 66
 ## Usage
84 67