From 843c2cdebd50cfe066c88571eb754c465cda2f60 Mon Sep 17 00:00:00 2001
From: Ethan Bodzioney <82469626+ethanbodzioney@users.noreply.github.com>
Date: Sun, 6 Jun 2021 19:14:06 -0500
Subject: [PATCH] Install instructions and version number corrections (#148)

* Add MacOS install instructions

* Change version name argument

When using the -V command to get the version you are given 'helix-term x.x.x', I changed this to just helix as it makes more sense.

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number

* Fixed version number
---
 README.md               | 8 ++++++++
 helix-core/Cargo.toml   | 2 +-
 helix-lsp/Cargo.toml    | 2 +-
 helix-syntax/Cargo.toml | 2 +-
 helix-term/Cargo.toml   | 2 +-
 helix-term/src/main.rs  | 2 +-
 helix-tui/Cargo.toml    | 2 +-
 helix-view/Cargo.toml   | 2 +-
 8 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 6f27f364..271c7bf5 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,14 @@ There are two packages available from AUR:
  - `helix-bin`: contains prebuilt binary from GitHub releases
  - `helix-git`: builds the master branch of this repository
 
+## MacOS
+Helix can be installed on MacOS through homebrew via:
+
+```
+brew tap helix-editor/helix
+brew install helix
+```
+ 
 # Contributing
 
 Contributors are very welcome! **No contribution is too small and all contributions are valued.**
diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml
index 6ae244f9..80e7602a 100644
--- a/helix-core/Cargo.toml
+++ b/helix-core/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-core"
-version = "0.1.0"
+version = "0.0.9"
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 edition = "2018"
 license = "MPL-2.0"
diff --git a/helix-lsp/Cargo.toml b/helix-lsp/Cargo.toml
index 8b20cfab..cfdbfa83 100644
--- a/helix-lsp/Cargo.toml
+++ b/helix-lsp/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-lsp"
-version = "0.1.0"
+version = "0.0.9"
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 edition = "2018"
 license = "MPL-2.0"
diff --git a/helix-syntax/Cargo.toml b/helix-syntax/Cargo.toml
index 93ef5514..5ca4ae8d 100644
--- a/helix-syntax/Cargo.toml
+++ b/helix-syntax/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-syntax"
-version = "0.1.0"
+version = "0.0.9"
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 edition = "2018"
 license = "MPL-2.0"
diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml
index 3751b5ab..b8392ad5 100644
--- a/helix-term/Cargo.toml
+++ b/helix-term/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-term"
-version = "0.1.0"
+version = "0.0.9"
 description = "A post-modern text editor."
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 edition = "2018"
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index 0b55921a..75b1dfdc 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -141,7 +141,7 @@ FLAGS:
     }
 
     if args.display_version {
-        println!("{} {}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
+        println!("helix {}", env!("CARGO_PKG_VERSION"));
         std::process::exit(0);
     }
 
diff --git a/helix-tui/Cargo.toml b/helix-tui/Cargo.toml
index c303af04..f0831e82 100644
--- a/helix-tui/Cargo.toml
+++ b/helix-tui/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-tui"
-version = "0.1.0"
+version = "0.0.9"
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 description = """
 A library to build rich terminal user interfaces or dashboards
diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml
index b2d1a594..28d026ae 100644
--- a/helix-view/Cargo.toml
+++ b/helix-view/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "helix-view"
-version = "0.1.0"
+version = "0.0.9"
 authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
 edition = "2018"
 license = "MPL-2.0"