From 395c9628c05487cfb7ff2c0e4750f47299cb875f Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Thu, 1 Nov 2018 13:40:56 +0100 Subject: Use universal way to get the prefix of the Brew installation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07e9a89..8cb5337 100644 --- a/README.md +++ b/README.md @@ -166,10 +166,10 @@ nix-env -i pass-otp ### macOS #### Brew ``` -brew install oath-toolkit +brew install oath-toolkit bash-completion git clone https://github.com/tadfisher/pass-otp cd pass-otp -make install PREFIX=/usr/local +make install PREFIX=/usr/local BASHCOMPDIR=/usr/local/etc/bash_completion.d ``` #### Macports.org -- cgit v1.2.3 From e7d70730525d903d9dfe67d0e9f126148009dd1c Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Thu, 1 Nov 2018 13:53:40 +0100 Subject: Fix installation instructions for Brew --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cb5337..efdc2ba 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ nix-env -i pass-otp brew install oath-toolkit bash-completion git clone https://github.com/tadfisher/pass-otp cd pass-otp -make install PREFIX=/usr/local BASHCOMPDIR=/usr/local/etc/bash_completion.d +make install PREFIX=$(brew --prefix) BASHCOMPDIR=$(brew --prefix)/etc/bash_completion.d ``` #### Macports.org -- cgit v1.2.3