From f5fb17505c536be99e4319021e125de6a7c1162d Mon Sep 17 00:00:00 2001 From: Welding Torch <46340124+Welding-Torch@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:05:39 +0530 Subject: [PATCH 1/2] Easier to follow installation instructions --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cccc441..3417e3b 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ Even though it is called basher, it also works with zsh and fish. ## Installation +You can install basher in 1 line. This will install basher, and add it to your .bashrc/.zshrc file - in a way that can automatically be uninstalled later: + + curl -s https://raw.githubusercontent.com/basherpm/basher/master/install.sh | bash + +#### Install on Mac OSX + Basher requires `bash >= 4`, and the `realpath` utility from `coreutils`. On osx you can install both with brew: @@ -20,6 +26,8 @@ osx you can install both with brew: $ brew install bash coreutils ``` +#### Manual method to Install + 1. Checkout basher on `~/.basher` ~~~ sh @@ -43,9 +51,6 @@ $ brew install bash coreutils status --is-interactive; and . (basher init - fish|psub) ~~~ -or in 1 line, automatically (this will install basher and add it to your .bashrc/.zshrc file - in a way that can automatically be uninstalled later)): - - curl -s https://raw.githubusercontent.com/basherpm/basher/master/install.sh | bash ## Updating From 5af230b73b4577a4fff5a0985c88d3e750483e19 Mon Sep 17 00:00:00 2001 From: Welding Torch <46340124+Welding-Torch@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:23:21 +0530 Subject: [PATCH 2/2] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Timothée Mazzucotelli --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3417e3b..9536bca 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Even though it is called basher, it also works with zsh and fish. ## Installation -You can install basher in 1 line. This will install basher, and add it to your .bashrc/.zshrc file - in a way that can automatically be uninstalled later: +You can install Basher in 1 line. This will install Basher, and add it to your .bashrc/.zshrc file - in a way that can automatically be uninstalled later: curl -s https://raw.githubusercontent.com/basherpm/basher/master/install.sh | bash